Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 88.39 kB / 20.23 MB, free: 4.168 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 161.3 kB / 23.55 MB, free: 0.8594 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.515/1.515, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.93/2.93, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 3.938 kB / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.892e-05/3.105e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.008566/0.008597, allocations: 3.457 MB / 0.8142 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.007007/0.0156, allocations: 2.425 MB / 0.8165 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000815/0.01642, allocations: 19.81 kB / 0.8165 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.01778, allocations: 240.3 kB / 0.8168 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.002501/0.02029, allocations: 0.5559 MB / 0.8173 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.002486/0.02277, allocations: 0.5733 MB / 0.8179 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.003554/0.02633, allocations: 1.433 MB / 0.8193 GB, free: 9.426 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000503/0.02683, allocations: 97.72 kB / 0.8194 GB, free: 9.328 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002363/0.02919, allocations: 0.5941 MB / 0.8199 GB, free: 8.734 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001399/0.03059, allocations: 434.8 kB / 0.8204 GB, free: 8.309 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0003101/0.0309, allocations: 56 kB / 0.8204 GB, free: 8.254 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004856/0.03139, allocations: 60 kB / 0.8205 GB, free: 8.195 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0009438/0.03233, allocations: 409.5 kB / 0.8209 GB, free: 7.797 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.001107/0.03344, allocations: 323.2 kB / 0.8212 GB, free: 7.48 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002193/0.03563, allocations: 0.9304 MB / 0.8221 GB, free: 6.547 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.03564, allocations: 0 / 0.8221 GB, free: 6.547 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.174e-06/0.03564, allocations: 0 / 0.8221 GB, free: 6.547 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.618e-05/0.03569, allocations: 4 kB / 0.8221 GB, free: 6.543 MB / 0.7761 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.004681/0.04038, allocations: 1.22 MB / 0.8233 GB, free: 5.297 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.875e-05/0.04044, allocations: 14.53 kB / 0.8233 GB, free: 5.285 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006807/0.04112, allocations: 136.3 kB / 0.8234 GB, free: 5.152 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00206/0.04318, allocations: 0.6352 MB / 0.824 GB, free: 4.488 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.707e-05/0.04324, allocations: 37.03 kB / 0.8241 GB, free: 4.453 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.0434, allocations: 57.5 kB / 0.8241 GB, free: 4.398 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.04452, allocations: 411.5 kB / 0.8245 GB, free: 3.965 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.04454, allocations: 192 / 0.8245 GB, free: 3.965 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.823e-05/0.0446, allocations: 24.91 kB / 0.8245 GB, free: 3.941 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.04461, allocations: 8 kB / 0.8246 GB, free: 3.934 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007158/0.04533, allocations: 231.5 kB / 0.8248 GB, free: 3.711 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005134/0.05046, allocations: 1.834 MB / 0.8266 GB, free: 1.82 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002308/0.05277, allocations: 0.5238 MB / 0.8271 GB, free: 1.293 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004188/0.05319, allocations: 144.8 kB / 0.8272 GB, free: 1.148 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.337e-05/0.05322, allocations: 8 kB / 0.8272 GB, free: 1.141 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.795e-05/0.05327, allocations: 34.56 kB / 0.8273 GB, free: 1.098 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=30): time 2.715e-06/0.05327, allocations: 4 kB / 0.8273 GB, free: 1.094 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30): time 0.002487/0.05576, allocations: 0.6599 MB / 0.8279 GB, free: 428 kB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/0.05582, allocations: 59.34 kB / 0.828 GB, free: 356 kB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/0.05751, allocations: 0.9269 MB / 0.8289 GB, free: 15.41 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 6.888e-05/0.05758, allocations: 41.7 kB / 0.8289 GB, free: 15.37 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004232/0.058, allocations: 381.2 kB / 0.8293 GB, free: 14.99 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/0.05818, allocations: 119 kB / 0.8294 GB, free: 14.87 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002963/0.05847, allocations: 166.6 kB / 0.8295 GB, free: 14.7 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0003107/0.05878, allocations: 398.7 kB / 0.8299 GB, free: 14.3 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007217/0.0595, allocations: 241.8 kB / 0.8301 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/0.06074, allocations: 0.643 MB / 0.8308 GB, free: 13.23 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/0.06211, allocations: 0.8929 MB / 0.8316 GB, free: 12.14 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-05/0.06213, allocations: 4 kB / 0.8317 GB, free: 12.14 MB / 0.7917 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002401/0.06453, allocations: 1.061 MB / 0.8327 GB, free: 11.06 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.06455, allocations: 8 kB / 0.8327 GB, free: 11.05 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-05/0.06459, allocations: 19.98 kB / 0.8327 GB, free: 11.04 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000783/0.06537, allocations: 150.6 kB / 0.8329 GB, free: 10.88 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006897/0.06606, allocations: 187.7 kB / 0.833 GB, free: 10.7 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004625/0.07069, allocations: 4.103 MB / 0.837 GB, free: 6.285 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/0.07187, allocations: 119.2 kB / 0.8372 GB, free: 6.168 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.355e-05/0.07196, allocations: 40.22 kB / 0.8372 GB, free: 6.129 MB / 0.7917 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.0004685/0.07243, allocations: 269.5 kB / 0.8375 GB, free: 5.855 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002849/0.07272, allocations: 99.38 kB / 0.8375 GB, free: 5.758 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001904/0.07291, allocations: 72.42 kB / 0.8376 GB, free: 5.688 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.07291, allocations: 7.938 kB / 0.8376 GB, free: 5.68 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/0.07293, allocations: 4 kB / 0.8376 GB, free: 5.676 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.07293, allocations: 3.984 kB / 0.8376 GB, free: 5.672 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009093/0.07384, allocations: 476.8 kB / 0.8381 GB, free: 5.176 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.07385, allocations: 4 kB / 0.8381 GB, free: 5.172 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003657/0.07421, allocations: 59.95 kB / 0.8381 GB, free: 5.113 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006552/0.07487, allocations: 138.5 kB / 0.8383 GB, free: 4.969 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/0.07491, allocations: 11.98 kB / 0.8383 GB, free: 4.957 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004585/0.0795, allocations: 4.067 MB / 0.8423 GB, free: 0.582 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.0795, allocations: 0 / 0.8423 GB, free: 0.582 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.08091, allocations: 0.7453 MB / 0.843 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004302/0.08134, allocations: 143.2 kB / 0.8431 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001469/0.08149, allocations: 12 kB / 0.8431 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005612/0.08205, allocations: 19.97 kB / 0.8432 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.08215, allocations: 31.94 kB / 0.8432 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.08217, allocations: 8 kB / 0.8432 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001146/0.08332, allocations: 0.6161 MB / 0.8438 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.08332, allocations: 0 / 0.8438 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001089/0.0844, allocations: 271.8 kB / 0.8441 GB, free: 14.72 MB / 0.8073 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.0001792/0.08458, allocations: 115.2 kB / 0.8442 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001804/0.08639, allocations: 0.9047 MB / 0.8451 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.08639, allocations: 448 / 0.8451 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0007903/0.08718, allocations: 0.5114 MB / 0.8456 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000981/0.08816, allocations: 175.4 kB / 0.8457 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003239/0.0914, allocations: 1.597 MB / 0.8473 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000527/0.09193, allocations: 388.4 kB / 0.8476 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0004417/0.09237, allocations: 149.6 kB / 0.8478 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.09255, allocations: 48.5 kB / 0.8478 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of SimCode: time 6.91e-07/0.09255, allocations: 0 / 0.8478 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of Templates: time 0.03005/0.1226, allocations: 10.78 MB / 0.8584 GB, free: 176 kB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.416719416039996]