Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.001852/0.001852, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002218/0.002218, allocations: 209.8 kB / 22.24 MB, free: 5.262 MB / 14.72 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.539/1.539, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.412/3.412, allocations: 0.4892 GB / 0.7943 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.ConductorMultiLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002408/0.002408, allocations: 67.34 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4196/0.422, allocations: 176.1 MB / 1.325 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.005075/0.4271, allocations: 2.587 MB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004785/0.4319, allocations: 2.621 MB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003412/0.4322, allocations: 7.938 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001681/0.4339, allocations: 482 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0007979/0.4347, allocations: 306.8 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.4359, allocations: 415 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002491/0.4384, allocations: 1.578 MB / 1.333 GB, free: 9.883 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002263/0.4387, allocations: 66.42 kB / 1.333 GB, free: 9.805 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009566/0.4396, allocations: 486.8 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009423/0.4406, allocations: 442.5 kB / 1.334 GB, free: 8.895 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000195/0.4407, allocations: 48 kB / 1.334 GB, free: 8.848 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003201/0.4411, allocations: 55.98 kB / 1.334 GB, free: 8.793 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004182/0.4415, allocations: 291.2 kB / 1.335 GB, free: 8.508 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0005792/0.4421, allocations: 302.6 kB / 1.335 GB, free: 8.211 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.4433, allocations: 0.938 MB / 1.336 GB, free: 7.27 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4433, allocations: 4 kB / 1.336 GB, free: 7.266 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4433, allocations: 0 / 1.336 GB, free: 7.266 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.356e-05/0.4434, allocations: 0 / 1.336 GB, free: 7.266 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002878/0.4463, allocations: 1.1 MB / 1.337 GB, free: 6.133 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.4463, allocations: 8.031 kB / 1.337 GB, free: 6.125 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003056/0.4466, allocations: 80.47 kB / 1.337 GB, free: 6.047 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.448, allocations: 0.6305 MB / 1.338 GB, free: 5.395 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.08e-05/0.4481, allocations: 24.88 kB / 1.338 GB, free: 5.371 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.326e-05/0.4482, allocations: 44.33 kB / 1.338 GB, free: 5.328 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006807/0.4488, allocations: 382 kB / 1.338 GB, free: 4.93 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.4489, allocations: 0 / 1.338 GB, free: 4.93 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.385e-05/0.4489, allocations: 8 kB / 1.338 GB, free: 4.922 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.4489, allocations: 12 kB / 1.338 GB, free: 4.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004522/0.4494, allocations: 233.5 kB / 1.338 GB, free: 4.684 MB / 1.029 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003882/0.4533, allocations: 1.757 MB / 1.34 GB, free: 2.871 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.4544, allocations: 386.5 kB / 1.34 GB, free: 2.484 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/0.4546, allocations: 132.7 kB / 1.34 GB, free: 2.352 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.4546, allocations: 4 kB / 1.34 GB, free: 2.348 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.4547, allocations: 34.5 kB / 1.34 GB, free: 2.305 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.443e-06/0.4547, allocations: 0 / 1.34 GB, free: 2.305 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.001072/0.4557, allocations: 467.8 kB / 1.341 GB, free: 1.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.4558, allocations: 59.34 kB / 1.341 GB, free: 1.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/0.4572, allocations: 0.9298 MB / 1.342 GB, free: 0.8281 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001047/0.4573, allocations: 41.64 kB / 1.342 GB, free: 0.7812 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000321/0.4576, allocations: 308.7 kB / 1.342 GB, free: 488 kB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.4577, allocations: 75.36 kB / 1.342 GB, free: 412 kB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002332/0.4579, allocations: 126.3 kB / 1.342 GB, free: 280 kB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002372/0.4582, allocations: 378.8 kB / 1.343 GB, free: 15.89 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004208/0.4586, allocations: 241.1 kB / 1.343 GB, free: 15.66 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007234/0.4593, allocations: 0.506 MB / 1.344 GB, free: 15.02 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009558/0.4603, allocations: 0.6929 MB / 1.344 GB, free: 14.2 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.4603, allocations: 3.938 kB / 1.344 GB, free: 14.2 MB / 1.045 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001412/0.4617, allocations: 0.8197 MB / 1.345 GB, free: 13.37 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.855e-05/0.4617, allocations: 8 kB / 1.345 GB, free: 13.36 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.4618, allocations: 8 kB / 1.345 GB, free: 13.36 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002323/0.462, allocations: 56.81 kB / 1.345 GB, free: 13.3 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005014/0.4625, allocations: 144.1 kB / 1.345 GB, free: 13.16 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/0.464, allocations: 1.408 MB / 1.347 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007666/0.4647, allocations: 135.4 kB / 1.347 GB, free: 11.51 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-05/0.4648, allocations: 24 kB / 1.347 GB, free: 11.49 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004768/0.4652, allocations: 335.8 kB / 1.347 GB, free: 11.15 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.4653, allocations: 67.58 kB / 1.347 GB, free: 11.09 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001662/0.4655, allocations: 73.8 kB / 1.347 GB, free: 11.01 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.4655, allocations: 4 kB / 1.347 GB, free: 11 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4655, allocations: 0 / 1.347 GB, free: 11 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.4655, allocations: 3.984 kB / 1.347 GB, free: 11 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006522/0.4662, allocations: 432.9 kB / 1.348 GB, free: 10.55 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.4662, allocations: 7.938 kB / 1.348 GB, free: 10.54 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002676/0.4665, allocations: 51.89 kB / 1.348 GB, free: 10.49 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000132/0.4666, allocations: 44.83 kB / 1.348 GB, free: 10.44 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.944e-05/0.4666, allocations: 11.98 kB / 1.348 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/0.468, allocations: 1.389 MB / 1.349 GB, free: 8.934 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.468, allocations: 0 / 1.349 GB, free: 8.934 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008792/0.4688, allocations: 0.5716 MB / 1.35 GB, free: 8.344 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003336/0.4692, allocations: 135.5 kB / 1.35 GB, free: 8.211 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.586e-05/0.4692, allocations: 8 kB / 1.35 GB, free: 8.203 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004039/0.4697, allocations: 43.92 kB / 1.35 GB, free: 8.16 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.792e-05/0.4697, allocations: 15.97 kB / 1.35 GB, free: 8.145 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.4697, allocations: 4 kB / 1.35 GB, free: 8.141 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001055/0.4708, allocations: 0.659 MB / 1.35 GB, free: 7.484 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4708, allocations: 0 / 1.35 GB, free: 7.484 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006712/0.4714, allocations: 179.9 kB / 1.351 GB, free: 7.309 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0001522/0.4716, allocations: 107.2 kB / 1.351 GB, free: 7.195 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001003/0.4726, allocations: 0.5699 MB / 1.351 GB, free: 6.613 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.4726, allocations: 3.938 kB / 1.351 GB, free: 6.609 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003506/0.473, allocations: 240.1 kB / 1.352 GB, free: 6.363 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008013/0.4738, allocations: 173.1 kB / 1.352 GB, free: 6.203 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002911/0.4767, allocations: 1.547 MB / 1.353 GB, free: 4.629 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005403/0.4772, allocations: 408.8 kB / 1.354 GB, free: 4.203 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0004702/0.4777, allocations: 180.5 kB / 1.354 GB, free: 4.023 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.4778, allocations: 35.44 kB / 1.354 GB, free: 3.988 MB / 1.045 GB Notification: Performance of SimCode: time 7.82e-07/0.4778, allocations: 0 / 1.354 GB, free: 3.988 MB / 1.045 GB Notification: Performance of Templates: time 0.01869/0.4965, allocations: 9.648 MB / 1.363 GB, free: 10.54 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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: 9.987975416705012]