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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 109.8 kB / 18.84 MB, free: 2.887 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 190.4 kB / 22.1 MB, free: 5.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.506/3.506, allocations: 495.8 MB / 0.783 GB, free: 33.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=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 0.002047/0.002047, allocations: 73.28 kB / 1.137 GB, free: 33.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4399/0.4419, allocations: 173.6 MB / 1.307 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.006688/0.4486, allocations: 3.764 MB / 1.31 GB, free: 14.05 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005324/0.4539, allocations: 2.517 MB / 1.313 GB, free: 11.53 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000555/0.4545, allocations: 23.81 kB / 1.313 GB, free: 11.5 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0008394/0.4553, allocations: 250.4 kB / 1.313 GB, free: 11.26 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001274/0.4566, allocations: 0.5366 MB / 1.314 GB, free: 10.72 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001609/0.4582, allocations: 0.5645 MB / 1.314 GB, free: 10.16 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002313/0.4605, allocations: 1.41 MB / 1.316 GB, free: 8.742 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002866/0.4608, allocations: 105.7 kB / 1.316 GB, free: 8.633 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007441/0.4616, allocations: 442.5 kB / 1.316 GB, free: 8.199 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007867/0.4623, allocations: 0.4903 MB / 1.317 GB, free: 7.707 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.4625, allocations: 56 kB / 1.317 GB, free: 7.652 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.4626, allocations: 64 kB / 1.317 GB, free: 7.59 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005192/0.4631, allocations: 402.8 kB / 1.317 GB, free: 7.195 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005626/0.4637, allocations: 465.7 kB / 1.318 GB, free: 6.738 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.4649, allocations: 0.9412 MB / 1.318 GB, free: 5.793 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4649, allocations: 4 kB / 1.318 GB, free: 5.789 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.455e-06/0.4649, allocations: 0 / 1.318 GB, free: 5.789 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.465, allocations: 0 / 1.318 GB, free: 5.789 MB / 1.014 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.002689/0.4676, allocations: 1.24 MB / 1.32 GB, free: 4.512 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.4677, allocations: 8.031 kB / 1.32 GB, free: 4.504 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001909/0.4679, allocations: 108.3 kB / 1.32 GB, free: 4.398 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.4691, allocations: 0.6105 MB / 1.32 GB, free: 3.766 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.788e-05/0.4691, allocations: 41.03 kB / 1.32 GB, free: 3.727 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.583e-05/0.4692, allocations: 56.38 kB / 1.32 GB, free: 3.672 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007211/0.4699, allocations: 414.9 kB / 1.321 GB, free: 3.23 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.47, allocations: 3.938 kB / 1.321 GB, free: 3.227 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.847e-05/0.47, allocations: 16 kB / 1.321 GB, free: 3.211 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.47, allocations: 8 kB / 1.321 GB, free: 3.203 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004561/0.4705, allocations: 238.4 kB / 1.321 GB, free: 2.973 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003527/0.474, allocations: 2.459 MB / 1.324 GB, free: 344 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.4755, allocations: 0.5142 MB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002778/0.4758, allocations: 160.7 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.4758, allocations: 0 / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.4759, allocations: 42.56 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 1.974e-06/0.4759, allocations: 0 / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.001684/0.4776, allocations: 0.6558 MB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/0.4776, allocations: 59.39 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/0.479, allocations: 0.9272 MB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.156e-05/0.479, allocations: 41.7 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003807/0.4794, allocations: 377.2 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.4795, allocations: 123 kB / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002395/0.4798, allocations: 166.6 kB / 1.326 GB, free: 13.21 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002366/0.48, allocations: 394.8 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004364/0.4804, allocations: 245.8 kB / 1.327 GB, free: 12.58 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008074/0.4812, allocations: 0.6352 MB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.4825, allocations: 0.8887 MB / 1.329 GB, free: 10.67 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/0.4825, allocations: 4 kB / 1.329 GB, free: 10.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00183/0.4843, allocations: 1.023 MB / 1.33 GB, free: 9.629 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.717e-05/0.4843, allocations: 8.938 kB / 1.33 GB, free: 9.621 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/0.4844, allocations: 16 kB / 1.33 GB, free: 9.605 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004658/0.4848, allocations: 134.8 kB / 1.33 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006641/0.4855, allocations: 179.7 kB / 1.33 GB, free: 9.289 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004043/0.4895, allocations: 4.168 MB / 1.334 GB, free: 4.773 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.4908, allocations: 119.2 kB / 1.334 GB, free: 4.656 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.357e-05/0.4908, allocations: 52.05 kB / 1.334 GB, free: 4.605 MB / 1.029 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.0004343/0.4913, allocations: 270.2 kB / 1.334 GB, free: 4.332 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.4914, allocations: 87.44 kB / 1.334 GB, free: 4.246 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001398/0.4916, allocations: 84.45 kB / 1.335 GB, free: 4.16 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.4916, allocations: 4 kB / 1.335 GB, free: 4.156 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.4916, allocations: 0 / 1.335 GB, free: 4.156 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.4916, allocations: 0 / 1.335 GB, free: 4.156 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009285/0.4925, allocations: 0.6405 MB / 1.335 GB, free: 3.473 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.4925, allocations: 0 / 1.335 GB, free: 3.473 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003395/0.4929, allocations: 67.88 kB / 1.335 GB, free: 3.406 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003407/0.4932, allocations: 106.6 kB / 1.335 GB, free: 3.293 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/0.4932, allocations: 8 kB / 1.335 GB, free: 3.285 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003992/0.4972, allocations: 4.148 MB / 1.339 GB, free: 14.8 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.4972, allocations: 0 / 1.339 GB, free: 14.8 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.4987, allocations: 0.7325 MB / 1.34 GB, free: 14.04 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004782/0.4991, allocations: 143.2 kB / 1.34 GB, free: 13.9 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.4992, allocations: 8 kB / 1.34 GB, free: 13.89 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005255/0.4998, allocations: 27.95 kB / 1.34 GB, free: 13.86 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.548e-05/0.4999, allocations: 27.89 kB / 1.34 GB, free: 13.84 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.4999, allocations: 4 kB / 1.34 GB, free: 13.83 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001013/0.5009, allocations: 0.6278 MB / 1.341 GB, free: 13.21 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.5009, allocations: 4 kB / 1.341 GB, free: 13.21 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001042/0.5019, allocations: 267.8 kB / 1.341 GB, free: 12.95 MB / 1.045 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.0001667/0.5021, allocations: 104 kB / 1.341 GB, free: 12.83 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00165/0.5037, allocations: 0.905 MB / 1.342 GB, free: 11.89 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5037, allocations: 0 / 1.342 GB, free: 11.89 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0007299/0.5045, allocations: 0.5155 MB / 1.343 GB, free: 11.34 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008982/0.5054, allocations: 177.2 kB / 1.343 GB, free: 11.16 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003013/0.5084, allocations: 1.748 MB / 1.345 GB, free: 9.383 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007356/0.5091, allocations: 0.9917 MB / 1.346 GB, free: 8.363 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0004473/0.5096, allocations: 157.8 kB / 1.346 GB, free: 8.207 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.5097, allocations: 55.38 kB / 1.346 GB, free: 8.152 MB / 1.045 GB Notification: Performance of SimCode: time 1.583e-06/0.5097, allocations: 0 / 1.346 GB, free: 8.152 MB / 1.045 GB Notification: Performance of Templates: time 0.0223/0.532, allocations: 10.66 MB / 1.356 GB, free: 13.6 MB / 1.061 GB " [Timeout remaining time 299] 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: 10.005683591589332]