Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.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.001587/0.001587, 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.001772/0.001772, allocations: 215.4 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.208/3.208, allocations: 0.4892 GB / 0.7951 GB, free: 35.64 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.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1") [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.0021/0.0021, allocations: 66.89 kB / 1.154 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3942, allocations: 176.1 MB / 1.326 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1883/0.5824, allocations: 143.1 MB / 1.466 GB, free: 2.191 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.005039/0.5875, allocations: 2.743 MB / 1.469 GB, free: 15.44 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006809/0.5881, allocations: 23.81 kB / 1.469 GB, free: 15.42 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000802/0.5889, allocations: 190.8 kB / 1.469 GB, free: 15.23 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002299/0.5912, allocations: 0.8051 MB / 1.47 GB, free: 14.42 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008967/0.5921, allocations: 359 kB / 1.47 GB, free: 14.07 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001399/0.5935, allocations: 0.9664 MB / 1.471 GB, free: 13.11 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003465/0.5939, allocations: 210.5 kB / 1.471 GB, free: 12.89 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006831/0.5946, allocations: 386.6 kB / 1.472 GB, free: 12.52 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009088/0.5955, allocations: 297 kB / 1.472 GB, free: 12.23 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 6.694e-05/0.5955, allocations: 32 kB / 1.472 GB, free: 12.2 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.5967, allocations: 0.5298 MB / 1.472 GB, free: 11.66 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001818/0.5969, allocations: 135.5 kB / 1.473 GB, free: 11.53 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000225/0.5971, allocations: 179.2 kB / 1.473 GB, free: 11.36 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.5983, allocations: 0.7358 MB / 1.473 GB, free: 10.62 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.5983, allocations: 0 / 1.473 GB, free: 10.62 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5983, allocations: 0 / 1.473 GB, free: 10.62 MB / 1.17 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.5983, allocations: 3.938 kB / 1.473 GB, free: 10.61 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001216/0.5995, allocations: 0.6504 MB / 1.474 GB, free: 9.934 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.5995, allocations: 11.97 kB / 1.474 GB, free: 9.922 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.6005, allocations: 143.6 kB / 1.474 GB, free: 9.781 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006923/0.6012, allocations: 356 kB / 1.475 GB, free: 9.402 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.6013, allocations: 20.5 kB / 1.475 GB, free: 9.383 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.744e-05/0.6013, allocations: 31.98 kB / 1.475 GB, free: 9.352 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005377/0.6019, allocations: 385.5 kB / 1.475 GB, free: 8.941 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.6019, allocations: 0 / 1.475 GB, free: 8.941 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/0.6019, allocations: 12 kB / 1.475 GB, free: 8.93 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/0.6019, allocations: 8.5 kB / 1.475 GB, free: 8.922 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003458/0.6023, allocations: 189.9 kB / 1.475 GB, free: 8.734 MB / 1.17 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.00156/0.6038, allocations: 0.7926 MB / 1.476 GB, free: 7.91 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004505/0.6043, allocations: 190.8 kB / 1.476 GB, free: 7.715 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.6044, allocations: 80.83 kB / 1.476 GB, free: 7.633 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.6044, allocations: 4.344 kB / 1.476 GB, free: 7.629 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.6045, allocations: 34.56 kB / 1.476 GB, free: 7.586 MB / 1.17 GB Notification: Performance of pre-optimization done (n=19): time 2.144e-06/0.6045, allocations: 0 / 1.476 GB, free: 7.586 MB / 1.17 GB Notification: Performance of matching and sorting (n=19): time 0.00109/0.6056, allocations: 327.6 kB / 1.477 GB, free: 7.258 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.6056, allocations: 51.41 kB / 1.477 GB, free: 7.195 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003884/0.606, allocations: 300.5 kB / 1.477 GB, free: 6.895 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.606, allocations: 25.7 kB / 1.477 GB, free: 6.863 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.6063, allocations: 200.6 kB / 1.477 GB, free: 6.664 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 9.886e-05/0.6064, allocations: 79.36 kB / 1.477 GB, free: 6.586 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.6065, allocations: 49.64 kB / 1.477 GB, free: 6.531 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002063/0.6067, allocations: 330.8 kB / 1.478 GB, free: 6.199 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.6068, allocations: 71.91 kB / 1.478 GB, free: 6.129 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/0.607, allocations: 121.1 kB / 1.478 GB, free: 5.992 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003088/0.6073, allocations: 203.5 kB / 1.478 GB, free: 5.773 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.6073, allocations: 4 kB / 1.478 GB, free: 5.77 MB / 1.17 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003952/0.6077, allocations: 237.3 kB / 1.478 GB, free: 5.531 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.6077, allocations: 17.8 kB / 1.478 GB, free: 5.516 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.6077, allocations: 3.938 kB / 1.478 GB, free: 5.512 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/0.6077, allocations: 4 kB / 1.478 GB, free: 5.508 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.6079, allocations: 43.98 kB / 1.478 GB, free: 5.465 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.608, allocations: 8.125 kB / 1.478 GB, free: 5.457 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002955/0.6082, allocations: 19.84 kB / 1.478 GB, free: 5.438 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.6083, allocations: 8 kB / 1.478 GB, free: 5.43 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002194/0.6085, allocations: 157.8 kB / 1.478 GB, free: 5.266 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.53e-05/0.6086, allocations: 31.81 kB / 1.478 GB, free: 5.234 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.046e-05/0.6087, allocations: 42.23 kB / 1.478 GB, free: 5.191 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.6087, allocations: 4 kB / 1.478 GB, free: 5.188 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.6087, allocations: 3.938 kB / 1.478 GB, free: 5.184 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.6087, allocations: 3.984 kB / 1.478 GB, free: 5.18 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000488/0.6092, allocations: 277.2 kB / 1.479 GB, free: 4.879 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.6092, allocations: 4 kB / 1.479 GB, free: 4.875 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.6093, allocations: 31.98 kB / 1.479 GB, free: 4.844 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002517/0.6096, allocations: 40.83 kB / 1.479 GB, free: 4.801 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.6096, allocations: 4 kB / 1.479 GB, free: 4.797 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00138/0.611, allocations: 1.378 MB / 1.48 GB, free: 3.312 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.611, allocations: 0 / 1.48 GB, free: 3.312 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005981/0.6116, allocations: 409.2 kB / 1.481 GB, free: 2.895 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.6117, allocations: 51.81 kB / 1.481 GB, free: 2.844 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.758e-05/0.6118, allocations: 4 kB / 1.481 GB, free: 2.84 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/0.612, allocations: 9.719 kB / 1.481 GB, free: 2.832 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.612, allocations: 19.86 kB / 1.481 GB, free: 2.812 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.6121, allocations: 12 kB / 1.481 GB, free: 2.801 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002294/0.6123, allocations: 211.1 kB / 1.481 GB, free: 2.598 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6123, allocations: 3.938 kB / 1.481 GB, free: 2.594 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004383/0.6127, allocations: 103.9 kB / 1.481 GB, free: 2.492 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002023/0.6129, allocations: 127.4 kB / 1.481 GB, free: 2.359 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0003021/0.6132, allocations: 148.1 kB / 1.481 GB, free: 2.215 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6132, allocations: 4.125 kB / 1.481 GB, free: 2.211 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.000329/0.6136, allocations: 198.6 kB / 1.481 GB, free: 2.004 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009473/0.6145, allocations: 190.2 kB / 1.482 GB, free: 1.824 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.6158, allocations: 0.7843 MB / 1.482 GB, free: 1 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001959/0.616, allocations: 190 kB / 1.483 GB, free: 0.7969 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.789e-05/0.6161, allocations: 31.44 kB / 1.483 GB, free: 0.7656 MB / 1.17 GB Notification: Performance of SimCode: time 5.71e-07/0.6161, allocations: 0 / 1.483 GB, free: 0.7656 MB / 1.17 GB Notification: Performance of Templates: time 0.009373/0.6255, allocations: 5.861 MB / 1.488 GB, free: 10.95 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.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: 12.740071122068912]