Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.001338/0.001338, 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.001573/0.001573, allocations: 214 kB / 22.25 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 7.785 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.379/3.379, allocations: 0.4892 GB / 0.7943 GB, free: 35.68 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.ConductorMultiLayer2,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.ConductorMultiLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,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.ConductorMultiLayer2") [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.002126/0.002126, allocations: 69.44 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4234/0.4256, allocations: 176.1 MB / 1.326 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.006041/0.4316, allocations: 2.595 MB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005799/0.4374, allocations: 2.609 MB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004525/0.4378, allocations: 7.938 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001951/0.4398, allocations: 494 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001033/0.4408, allocations: 306.7 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.4422, allocations: 413.5 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002432/0.4447, allocations: 1.571 MB / 1.333 GB, free: 9.867 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002457/0.4449, allocations: 74.41 kB / 1.333 GB, free: 9.781 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009605/0.4459, allocations: 482.9 kB / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009145/0.4468, allocations: 438.5 kB / 1.334 GB, free: 8.879 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001718/0.4469, allocations: 48 kB / 1.334 GB, free: 8.832 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002471/0.4472, allocations: 56 kB / 1.334 GB, free: 8.777 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004448/0.4476, allocations: 291.2 kB / 1.335 GB, free: 8.492 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0005529/0.4482, allocations: 310.6 kB / 1.335 GB, free: 8.188 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.4494, allocations: 0.9341 MB / 1.336 GB, free: 7.25 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4494, allocations: 0 / 1.336 GB, free: 7.25 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.365e-06/0.4495, allocations: 0 / 1.336 GB, free: 7.25 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.739e-05/0.4495, allocations: 0 / 1.336 GB, free: 7.25 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.002708/0.4522, allocations: 1.1 MB / 1.337 GB, free: 6.117 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.4522, allocations: 12.03 kB / 1.337 GB, free: 6.105 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002675/0.4525, allocations: 76.47 kB / 1.337 GB, free: 6.031 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.4538, allocations: 0.6304 MB / 1.338 GB, free: 5.379 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.156e-05/0.4539, allocations: 28.88 kB / 1.338 GB, free: 5.352 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.416e-05/0.454, allocations: 48.33 kB / 1.338 GB, free: 5.305 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000655/0.4546, allocations: 370.1 kB / 1.338 GB, free: 4.918 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.4546, allocations: 7.938 kB / 1.338 GB, free: 4.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.797e-05/0.4547, allocations: 8 kB / 1.338 GB, free: 4.902 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.4547, allocations: 8 kB / 1.338 GB, free: 4.895 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004429/0.4551, allocations: 237.5 kB / 1.338 GB, free: 4.664 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.003909/0.459, allocations: 1.757 MB / 1.34 GB, free: 2.852 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.4601, allocations: 386.4 kB / 1.34 GB, free: 2.465 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002414/0.4603, allocations: 128.8 kB / 1.34 GB, free: 2.336 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.4603, allocations: 4 kB / 1.34 GB, free: 2.332 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.4604, allocations: 38.5 kB / 1.341 GB, free: 2.285 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 2.144e-06/0.4604, allocations: 0 / 1.341 GB, free: 2.285 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.001152/0.4615, allocations: 479.9 kB / 1.341 GB, free: 1.809 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.4616, allocations: 51.41 kB / 1.341 GB, free: 1.746 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/0.463, allocations: 0.9259 MB / 1.342 GB, free: 0.8086 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.819e-05/0.4631, allocations: 41.69 kB / 1.342 GB, free: 0.7617 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003257/0.4634, allocations: 308.7 kB / 1.342 GB, free: 468 kB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.822e-05/0.4635, allocations: 67.38 kB / 1.342 GB, free: 400 kB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001938/0.4637, allocations: 130.3 kB / 1.342 GB, free: 264 kB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002564/0.464, allocations: 378.8 kB / 1.343 GB, free: 15.88 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000406/0.4644, allocations: 241.1 kB / 1.343 GB, free: 15.64 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006771/0.4651, allocations: 0.5059 MB / 1.344 GB, free: 15.01 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.4661, allocations: 0.7007 MB / 1.344 GB, free: 14.18 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.284e-05/0.4661, allocations: 7.938 kB / 1.344 GB, free: 14.17 MB / 1.045 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001446/0.4675, allocations: 0.8156 MB / 1.345 GB, free: 13.35 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.4676, allocations: 8 kB / 1.345 GB, free: 13.34 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.4676, allocations: 8 kB / 1.345 GB, free: 13.33 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002358/0.4678, allocations: 49.42 kB / 1.345 GB, free: 13.28 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000491/0.4683, allocations: 147.7 kB / 1.345 GB, free: 13.14 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/0.4697, allocations: 1.408 MB / 1.347 GB, free: 11.62 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007699/0.4705, allocations: 127.4 kB / 1.347 GB, free: 11.5 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-05/0.4706, allocations: 28 kB / 1.347 GB, free: 11.47 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.000466/0.471, allocations: 343.5 kB / 1.347 GB, free: 11.13 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.4712, allocations: 59.58 kB / 1.347 GB, free: 11.07 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001352/0.4713, allocations: 69.8 kB / 1.347 GB, free: 11 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.4713, allocations: 4 kB / 1.347 GB, free: 10.99 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4713, allocations: 0 / 1.347 GB, free: 10.99 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.4713, allocations: 3.984 kB / 1.347 GB, free: 10.99 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006515/0.472, allocations: 436.9 kB / 1.348 GB, free: 10.53 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.472, allocations: 3.938 kB / 1.348 GB, free: 10.53 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.4722, allocations: 55.89 kB / 1.348 GB, free: 10.47 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001409/0.4724, allocations: 44.81 kB / 1.348 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/0.4724, allocations: 8 kB / 1.348 GB, free: 10.42 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001363/0.4738, allocations: 1.397 MB / 1.349 GB, free: 8.914 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4738, allocations: 0 / 1.349 GB, free: 8.914 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008908/0.4747, allocations: 0.5739 MB / 1.35 GB, free: 8.32 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003507/0.475, allocations: 127.5 kB / 1.35 GB, free: 8.195 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.797e-05/0.4751, allocations: 8 kB / 1.35 GB, free: 8.188 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004442/0.4755, allocations: 51.91 kB / 1.35 GB, free: 8.137 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.777e-05/0.4756, allocations: 7.984 kB / 1.35 GB, free: 8.129 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.4756, allocations: 8 kB / 1.35 GB, free: 8.121 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0009988/0.4766, allocations: 0.659 MB / 1.35 GB, free: 7.465 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4766, allocations: 0 / 1.35 GB, free: 7.465 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0007167/0.4773, allocations: 179.9 kB / 1.351 GB, free: 7.289 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.0001506/0.4775, allocations: 107.2 kB / 1.351 GB, free: 7.176 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001075/0.4786, allocations: 0.5691 MB / 1.351 GB, free: 6.598 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4786, allocations: 0 / 1.351 GB, free: 6.598 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003807/0.4789, allocations: 250.5 kB / 1.352 GB, free: 6.34 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008459/0.4798, allocations: 176.7 kB / 1.352 GB, free: 6.176 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/0.4824, allocations: 1.533 MB / 1.353 GB, free: 4.613 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005389/0.483, allocations: 408.7 kB / 1.354 GB, free: 4.188 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0004792/0.4835, allocations: 184.5 kB / 1.354 GB, free: 4.004 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.4836, allocations: 35.44 kB / 1.354 GB, free: 3.969 MB / 1.045 GB Notification: Performance of SimCode: time 5.81e-07/0.4836, allocations: 4 kB / 1.354 GB, free: 3.965 MB / 1.045 GB Notification: Performance of Templates: time 0.01966/0.5033, allocations: 9.651 MB / 1.363 GB, free: 10.52 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.782267589122057]