Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 106.9 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001124, allocations: 192.1 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.537/2.537, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 67.91 kB / 1.055 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.799/0.8004, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005097/0.8056, allocations: 3.739 MB / 1.212 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004294/0.8099, allocations: 2.497 MB / 1.214 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006158/0.8105, allocations: 19.88 kB / 1.215 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008888/0.8115, allocations: 252.4 kB / 1.215 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00134/0.8128, allocations: 0.4899 MB / 1.215 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.8143, allocations: 0.5374 MB / 1.216 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001694/0.816, allocations: 1.387 MB / 1.217 GB, free: 4.707 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002859/0.8163, allocations: 149.1 kB / 1.217 GB, free: 4.559 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000749/0.8171, allocations: 442.4 kB / 1.218 GB, free: 4.125 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007996/0.8179, allocations: 458.2 kB / 1.218 GB, free: 3.676 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001688/0.818, allocations: 56 kB / 1.218 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002362/0.8183, allocations: 56 kB / 1.218 GB, free: 3.566 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004087/0.8187, allocations: 374.9 kB / 1.219 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006267/0.8193, allocations: 461.7 kB / 1.219 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009751/0.8203, allocations: 0.9458 MB / 1.22 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.8203, allocations: 0 / 1.22 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.705e-06/0.8204, allocations: 0 / 1.22 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.33e-05/0.8204, allocations: 0 / 1.22 GB, free: 1.797 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002602/0.823, allocations: 1.273 MB / 1.221 GB, free: 476 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.8231, allocations: 8.031 kB / 1.221 GB, free: 468 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002254/0.8233, allocations: 107.7 kB / 1.221 GB, free: 360 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.8245, allocations: 0.6676 MB / 1.222 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.8245, allocations: 37.03 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.515e-05/0.8246, allocations: 56.38 kB / 1.222 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006153/0.8252, allocations: 422.9 kB / 1.222 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.8253, allocations: 0 / 1.222 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.199e-05/0.8253, allocations: 19.88 kB / 1.222 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.8253, allocations: 8 kB / 1.222 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004023/0.8257, allocations: 230.4 kB / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003034/0.8288, allocations: 2.498 MB / 1.225 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/0.8301, allocations: 0.5493 MB / 1.226 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/0.8304, allocations: 161.3 kB / 1.226 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.8304, allocations: 0 / 1.226 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.8304, allocations: 38.5 kB / 1.226 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=30): time 1.152e-06/0.8304, allocations: 4 kB / 1.226 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30): time 0.001549/0.832, allocations: 0.8794 MB / 1.227 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.832, allocations: 59.34 kB / 1.227 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.8331, allocations: 0.927 MB / 1.228 GB, free: 9.449 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.336e-05/0.8331, allocations: 41.7 kB / 1.228 GB, free: 9.402 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000254/0.8334, allocations: 372.7 kB / 1.228 GB, free: 9.031 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.585e-05/0.8335, allocations: 110.4 kB / 1.228 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.8337, allocations: 170.6 kB / 1.228 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.8338, allocations: 398.7 kB / 1.229 GB, free: 8.352 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003557/0.8342, allocations: 237.8 kB / 1.229 GB, free: 8.121 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000577/0.8348, allocations: 0.6465 MB / 1.23 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009175/0.8357, allocations: 0.8853 MB / 1.23 GB, free: 6.207 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.8357, allocations: 4 kB / 1.23 GB, free: 6.203 MB / 0.9512 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001482/0.8372, allocations: 1.018 MB / 1.231 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.8373, allocations: 12 kB / 1.231 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.8373, allocations: 16 kB / 1.231 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003748/0.8377, allocations: 126.7 kB / 1.232 GB, free: 5.008 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005877/0.8383, allocations: 191.6 kB / 1.232 GB, free: 4.82 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003054/0.8413, allocations: 4.484 MB / 1.236 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008571/0.8422, allocations: 111 kB / 1.236 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.908e-05/0.8422, allocations: 44 kB / 1.236 GB, free: 15.76 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003061/0.8426, allocations: 265.5 kB / 1.237 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.8427, allocations: 86.86 kB / 1.237 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.8428, allocations: 80.53 kB / 1.237 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.8428, allocations: 7.938 kB / 1.237 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.8428, allocations: 0 / 1.237 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.8428, allocations: 7.922 kB / 1.237 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006775/0.8435, allocations: 0.657 MB / 1.237 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.8435, allocations: 4 kB / 1.237 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003085/0.8439, allocations: 55.95 kB / 1.237 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002926/0.8442, allocations: 102.5 kB / 1.238 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/0.8442, allocations: 8 kB / 1.238 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00291/0.8471, allocations: 4.461 MB / 1.242 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.8471, allocations: 4.125 kB / 1.242 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.8482, allocations: 0.7314 MB / 1.243 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002828/0.8485, allocations: 211.8 kB / 1.243 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.739e-05/0.8486, allocations: 15.94 kB / 1.243 GB, free: 8.543 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000441/0.849, allocations: 23.97 kB / 1.243 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.841e-05/0.8491, allocations: 23.97 kB / 1.243 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.8491, allocations: 4 kB / 1.243 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007548/0.8499, allocations: 0.6239 MB / 1.243 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8499, allocations: 0 / 1.243 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000798/0.8507, allocations: 259.8 kB / 1.244 GB, free: 7.617 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001531/0.8509, allocations: 115.2 kB / 1.244 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001442/0.8523, allocations: 0.9206 MB / 1.245 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.8523, allocations: 4.25 kB / 1.245 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006087/0.8529, allocations: 0.5232 MB / 1.245 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000845/0.8538, allocations: 171.9 kB / 1.245 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002507/0.8563, allocations: 1.771 MB / 1.247 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005797/0.8569, allocations: 0.9917 MB / 1.248 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.8571, allocations: 47.44 kB / 1.248 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of SimCode: time 1.603e-06/0.8571, allocations: 3.938 kB / 1.248 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of Templates: time 0.02174/0.8788, allocations: 17.65 MB / 1.265 GB, free: 1.305 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches