Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.001586/0.001586, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001756/0.001756, allocations: 216.9 kB / 22.99 MB, free: 4.945 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.387/3.387, allocations: 0.5107 GB / 0.8166 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ConductorMultiLayer3,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_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,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_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") [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.00214/0.00214, allocations: 67.3 kB / 1.187 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3731, allocations: 181.9 MB / 1.365 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.004895/0.378, allocations: 2.611 MB / 1.367 GB, free: 10.99 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004749/0.3827, allocations: 2.597 MB / 1.37 GB, free: 8.387 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003354/0.3831, allocations: 11.88 kB / 1.37 GB, free: 8.375 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001725/0.3848, allocations: 482.1 kB / 1.37 GB, free: 7.902 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0008511/0.3856, allocations: 298.8 kB / 1.37 GB, free: 7.609 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.3868, allocations: 429.2 kB / 1.371 GB, free: 7.191 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002255/0.3891, allocations: 1.567 MB / 1.372 GB, free: 5.621 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002256/0.3893, allocations: 70.42 kB / 1.372 GB, free: 5.543 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009144/0.3902, allocations: 486.9 kB / 1.373 GB, free: 5.066 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008929/0.3911, allocations: 442.4 kB / 1.373 GB, free: 4.633 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001972/0.3913, allocations: 51.98 kB / 1.373 GB, free: 4.582 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002549/0.3916, allocations: 56 kB / 1.373 GB, free: 4.527 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004749/0.3921, allocations: 295.2 kB / 1.374 GB, free: 4.238 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005033/0.3926, allocations: 306.5 kB / 1.374 GB, free: 3.938 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.3937, allocations: 0.9302 MB / 1.375 GB, free: 3.004 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3937, allocations: 0 / 1.375 GB, free: 3.004 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3937, allocations: 0 / 1.375 GB, free: 3.004 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.3937, allocations: 4 kB / 1.375 GB, free: 3 MB / 1.061 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.002379/0.3961, allocations: 1.105 MB / 1.376 GB, free: 1.863 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.3962, allocations: 12.03 kB / 1.376 GB, free: 1.852 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002177/0.3964, allocations: 84.42 kB / 1.376 GB, free: 1.77 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.3975, allocations: 0.6265 MB / 1.377 GB, free: 1.121 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.391e-05/0.3975, allocations: 28.88 kB / 1.377 GB, free: 1.094 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.962e-05/0.3976, allocations: 36.38 kB / 1.377 GB, free: 1.059 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006921/0.3983, allocations: 378 kB / 1.377 GB, free: 0.668 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.3983, allocations: 0 / 1.377 GB, free: 0.668 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.897e-05/0.3983, allocations: 8 kB / 1.377 GB, free: 0.6602 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.425e-06/0.3983, allocations: 8 kB / 1.377 GB, free: 0.6523 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004246/0.3988, allocations: 241.5 kB / 1.377 GB, free: 428 kB / 1.061 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.003614/0.4024, allocations: 1.749 MB / 1.379 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.4035, allocations: 386.5 kB / 1.379 GB, free: 14.22 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002252/0.4038, allocations: 128.8 kB / 1.38 GB, free: 14.09 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.4038, allocations: 7.984 kB / 1.38 GB, free: 14.09 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.4038, allocations: 38.5 kB / 1.38 GB, free: 14.04 MB / 1.076 GB Notification: Performance of pre-optimization done (n=18): time 2.595e-06/0.4038, allocations: 0 / 1.38 GB, free: 14.04 MB / 1.076 GB Notification: Performance of matching and sorting (n=18): time 0.001035/0.4049, allocations: 476.7 kB / 1.38 GB, free: 13.57 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.4049, allocations: 55.41 kB / 1.38 GB, free: 13.5 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.4062, allocations: 0.9298 MB / 1.381 GB, free: 12.56 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.956e-05/0.4062, allocations: 33.7 kB / 1.381 GB, free: 12.52 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003122/0.4065, allocations: 308.8 kB / 1.381 GB, free: 12.22 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.551e-05/0.4066, allocations: 71.33 kB / 1.381 GB, free: 12.15 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001679/0.4068, allocations: 126.3 kB / 1.382 GB, free: 12.02 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002288/0.407, allocations: 378.8 kB / 1.382 GB, free: 11.64 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004141/0.4074, allocations: 233.1 kB / 1.382 GB, free: 11.41 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007175/0.4081, allocations: 0.506 MB / 1.383 GB, free: 10.78 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009145/0.409, allocations: 0.7046 MB / 1.383 GB, free: 9.945 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/0.409, allocations: 7.938 kB / 1.383 GB, free: 9.938 MB / 1.076 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001339/0.4104, allocations: 0.8155 MB / 1.384 GB, free: 9.113 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.4104, allocations: 8 kB / 1.384 GB, free: 9.105 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.4104, allocations: 8 kB / 1.384 GB, free: 9.098 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002119/0.4106, allocations: 52.83 kB / 1.384 GB, free: 9.043 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004783/0.4111, allocations: 143.7 kB / 1.384 GB, free: 8.902 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001423/0.4125, allocations: 1.428 MB / 1.386 GB, free: 7.371 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007106/0.4132, allocations: 123.4 kB / 1.386 GB, free: 7.25 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.895e-05/0.4133, allocations: 28 kB / 1.386 GB, free: 7.223 MB / 1.076 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.0004259/0.4137, allocations: 342.5 kB / 1.386 GB, free: 6.879 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.757e-05/0.4138, allocations: 59.58 kB / 1.386 GB, free: 6.82 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/0.4139, allocations: 69.8 kB / 1.386 GB, free: 6.746 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.4139, allocations: 8.156 kB / 1.386 GB, free: 6.738 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.4139, allocations: 0 / 1.386 GB, free: 6.738 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4139, allocations: 0 / 1.386 GB, free: 6.738 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005981/0.4145, allocations: 432.9 kB / 1.387 GB, free: 6.285 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4145, allocations: 0 / 1.387 GB, free: 6.285 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002465/0.4148, allocations: 51.95 kB / 1.387 GB, free: 6.234 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001577/0.4149, allocations: 36.83 kB / 1.387 GB, free: 6.195 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.415, allocations: 11.98 kB / 1.387 GB, free: 6.184 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00142/0.4164, allocations: 1.404 MB / 1.388 GB, free: 4.672 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.4164, allocations: 0 / 1.388 GB, free: 4.672 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008069/0.4172, allocations: 0.5699 MB / 1.389 GB, free: 4.082 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000316/0.4175, allocations: 131.5 kB / 1.389 GB, free: 3.953 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.34e-05/0.4176, allocations: 8 kB / 1.389 GB, free: 3.945 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004062/0.418, allocations: 56.06 kB / 1.389 GB, free: 3.891 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.165e-05/0.418, allocations: 7.984 kB / 1.389 GB, free: 3.883 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.4181, allocations: 8 kB / 1.389 GB, free: 3.875 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0009187/0.419, allocations: 0.659 MB / 1.39 GB, free: 3.219 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.419, allocations: 0 / 1.39 GB, free: 3.219 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006638/0.4196, allocations: 183.8 kB / 1.39 GB, free: 3.039 MB / 1.076 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.0001457/0.4198, allocations: 107.2 kB / 1.39 GB, free: 2.926 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0009322/0.4207, allocations: 0.5622 MB / 1.39 GB, free: 2.355 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4207, allocations: 384 / 1.39 GB, free: 2.355 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003442/0.4211, allocations: 254.4 kB / 1.391 GB, free: 2.094 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007771/0.4218, allocations: 162.9 kB / 1.391 GB, free: 1.938 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.4242, allocations: 1.578 MB / 1.392 GB, free: 332 kB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004812/0.4246, allocations: 404.8 kB / 1.393 GB, free: 15.9 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.4248, allocations: 35.44 kB / 1.393 GB, free: 15.87 MB / 1.092 GB Notification: Performance of SimCode: time 5.51e-07/0.4248, allocations: 0 / 1.393 GB, free: 15.87 MB / 1.092 GB Notification: Performance of Templates: time 0.01769/0.4425, allocations: 12.59 MB / 1.405 GB, free: 3.312 MB / 1.092 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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: 13.169266765005887]