Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001401/0.001401, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001441/0.001442, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.382/2.382, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 60.12 kB / 1.019 GB, free: 9.473 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8254/0.827, allocations: 151.6 MB / 1.167 GB, free: 4.016 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.00502/0.832, allocations: 3.737 MB / 1.171 GB, free: 264 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004209/0.8363, allocations: 2.506 MB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004065/0.8367, allocations: 15.94 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0008717/0.8376, allocations: 252.3 kB / 1.174 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0011/0.8387, allocations: 0.4946 MB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001392/0.8401, allocations: 0.5349 MB / 1.175 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001553/0.8417, allocations: 1.387 MB / 1.176 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002645/0.842, allocations: 145.1 kB / 1.176 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006263/0.8426, allocations: 442.4 kB / 1.177 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006564/0.8433, allocations: 466.2 kB / 1.177 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.255e-05/0.8434, allocations: 56 kB / 1.177 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.8435, allocations: 60 kB / 1.177 GB, free: 9.906 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003921/0.8439, allocations: 374.9 kB / 1.177 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004664/0.8444, allocations: 461.7 kB / 1.178 GB, free: 9.086 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.8454, allocations: 0.9419 MB / 1.179 GB, free: 8.141 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.8454, allocations: 0 / 1.179 GB, free: 8.141 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8454, allocations: 0 / 1.179 GB, free: 8.141 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.8455, allocations: 0 / 1.179 GB, free: 8.141 MB / 0.9044 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.002395/0.8479, allocations: 1.269 MB / 1.18 GB, free: 6.82 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.8479, allocations: 20.81 kB / 1.18 GB, free: 6.801 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.8481, allocations: 103.7 kB / 1.18 GB, free: 6.699 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/0.8493, allocations: 0.6676 MB / 1.181 GB, free: 5.992 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.873e-05/0.8493, allocations: 37.03 kB / 1.181 GB, free: 5.957 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.249e-05/0.8494, allocations: 56.38 kB / 1.181 GB, free: 5.902 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006555/0.8501, allocations: 418.9 kB / 1.181 GB, free: 5.457 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.8501, allocations: 0 / 1.181 GB, free: 5.457 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.305e-05/0.8502, allocations: 12 kB / 1.181 GB, free: 5.445 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.8502, allocations: 8 kB / 1.181 GB, free: 5.438 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004748/0.8507, allocations: 242.3 kB / 1.182 GB, free: 5.203 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003203/0.8539, allocations: 2.494 MB / 1.184 GB, free: 2.527 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/0.8555, allocations: 0.5454 MB / 1.185 GB, free: 1.973 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002693/0.8558, allocations: 164.8 kB / 1.185 GB, free: 1.809 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.8558, allocations: 4 kB / 1.185 GB, free: 1.805 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.8558, allocations: 34.55 kB / 1.185 GB, free: 1.762 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=30): time 1.973e-06/0.8558, allocations: 4 kB / 1.185 GB, free: 1.758 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30): time 0.001628/0.8575, allocations: 0.8852 MB / 1.186 GB, free: 0.8008 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.8575, allocations: 55.41 kB / 1.186 GB, free: 0.7344 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.8587, allocations: 0.927 MB / 1.187 GB, free: 15.79 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.87e-05/0.8588, allocations: 41.7 kB / 1.187 GB, free: 15.75 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004148/0.8592, allocations: 368.8 kB / 1.187 GB, free: 15.38 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002042/0.8594, allocations: 110.3 kB / 1.187 GB, free: 15.27 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.8596, allocations: 170.6 kB / 1.187 GB, free: 15.1 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.8598, allocations: 406.7 kB / 1.188 GB, free: 14.69 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000413/0.8602, allocations: 237.8 kB / 1.188 GB, free: 14.46 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006583/0.8609, allocations: 0.6426 MB / 1.188 GB, free: 13.63 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.862, allocations: 0.8891 MB / 1.189 GB, free: 12.55 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.862, allocations: 4 kB / 1.189 GB, free: 12.54 MB / 0.92 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001749/0.8637, allocations: 1.014 MB / 1.19 GB, free: 11.51 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.8638, allocations: 12 kB / 1.19 GB, free: 11.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.8638, allocations: 12 kB / 1.19 GB, free: 11.49 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004222/0.8642, allocations: 134.6 kB / 1.19 GB, free: 11.35 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006499/0.8649, allocations: 191.7 kB / 1.191 GB, free: 11.16 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003839/0.8687, allocations: 4.473 MB / 1.195 GB, free: 6.262 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009681/0.8697, allocations: 107.1 kB / 1.195 GB, free: 6.156 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.627e-05/0.8698, allocations: 44 kB / 1.195 GB, free: 6.113 MB / 0.92 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.0004302/0.8702, allocations: 277.3 kB / 1.195 GB, free: 5.832 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.8704, allocations: 86.88 kB / 1.196 GB, free: 5.746 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001332/0.8705, allocations: 76.53 kB / 1.196 GB, free: 5.668 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.8705, allocations: 4 kB / 1.196 GB, free: 5.664 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/0.8705, allocations: 4 kB / 1.196 GB, free: 5.66 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.8705, allocations: 7.922 kB / 1.196 GB, free: 5.652 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007566/0.8713, allocations: 0.6531 MB / 1.196 GB, free: 4.949 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.8713, allocations: 4 kB / 1.196 GB, free: 4.945 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003402/0.8717, allocations: 67.88 kB / 1.196 GB, free: 4.879 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003143/0.872, allocations: 102.5 kB / 1.196 GB, free: 4.77 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.636e-05/0.8721, allocations: 11.98 kB / 1.196 GB, free: 4.758 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003564/0.8756, allocations: 4.454 MB / 1.201 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.8757, allocations: 4 kB / 1.201 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.8769, allocations: 0.7243 MB / 1.201 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004055/0.8774, allocations: 215.8 kB / 1.202 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.8775, allocations: 8 kB / 1.202 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004829/0.878, allocations: 23.97 kB / 1.202 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.828e-05/0.8781, allocations: 27.97 kB / 1.202 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.8781, allocations: 8 kB / 1.202 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009232/0.879, allocations: 0.6239 MB / 1.202 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.2e-07/0.879, allocations: 3.938 kB / 1.202 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009803/0.88, allocations: 263.8 kB / 1.203 GB, free: 13.96 MB / 0.9356 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.0001516/0.8802, allocations: 110.4 kB / 1.203 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001577/0.8818, allocations: 0.9246 MB / 1.204 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.8818, allocations: 0 / 1.204 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007187/0.8825, allocations: 0.5354 MB / 1.204 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009638/0.8835, allocations: 167.3 kB / 1.204 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002942/0.8865, allocations: 1.77 MB / 1.206 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006144/0.8871, allocations: 0.9878 MB / 1.207 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002225/0.8873, allocations: 51.44 kB / 1.207 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of SimCode: time 5.31e-07/0.8873, allocations: 0 / 1.207 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of Templates: time 0.02472/0.9121, allocations: 17.66 MB / 1.224 GB, free: 7.645 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches