Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001688/0.001688, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001878/0.001878, allocations: 211.9 kB / 23.01 MB, free: 4.566 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.205/3.205, allocations: 0.505 GB / 0.8108 GB, free: 22.05 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.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_latest_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_latest_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.002179/0.002179, allocations: 72.19 kB / 1.178 GB, free: 16.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3564, allocations: 180.2 MB / 1.354 GB, free: 8.02 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1909/0.5473, allocations: 166 MB / 1.516 GB, free: 1.402 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.005052/0.5523, allocations: 2.94 MB / 1.519 GB, free: 14.46 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004029/0.5527, allocations: 23.81 kB / 1.519 GB, free: 14.43 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0007121/0.5534, allocations: 218.8 kB / 1.519 GB, free: 14.22 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.001791/0.5552, allocations: 0.8167 MB / 1.52 GB, free: 13.4 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007213/0.556, allocations: 357.1 kB / 1.52 GB, free: 13.05 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001186/0.5571, allocations: 0.9742 MB / 1.521 GB, free: 12.07 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003166/0.5575, allocations: 210.5 kB / 1.522 GB, free: 11.86 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006093/0.5581, allocations: 398.6 kB / 1.522 GB, free: 11.47 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008409/0.5589, allocations: 308.1 kB / 1.522 GB, free: 11.17 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 5.642e-05/0.559, allocations: 35.98 kB / 1.522 GB, free: 11.13 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.5601, allocations: 0.6975 MB / 1.523 GB, free: 10.43 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.5602, allocations: 135.6 kB / 1.523 GB, free: 10.3 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0002194/0.5605, allocations: 211.1 kB / 1.523 GB, free: 10.09 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.5615, allocations: 0.7592 MB / 1.524 GB, free: 9.332 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.5615, allocations: 0 / 1.524 GB, free: 9.332 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5615, allocations: 0 / 1.524 GB, free: 9.332 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.5615, allocations: 0 / 1.524 GB, free: 9.332 MB / 1.217 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.001131/0.5626, allocations: 0.6523 MB / 1.525 GB, free: 8.648 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.5627, allocations: 12.03 kB / 1.525 GB, free: 8.637 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009757/0.5637, allocations: 135.6 kB / 1.525 GB, free: 8.504 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006315/0.5643, allocations: 364 kB / 1.525 GB, free: 8.121 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.5643, allocations: 20.5 kB / 1.525 GB, free: 8.102 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.33e-05/0.5644, allocations: 31.94 kB / 1.525 GB, free: 8.07 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000466/0.5648, allocations: 270.8 kB / 1.525 GB, free: 7.793 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.5648, allocations: 0 / 1.525 GB, free: 7.793 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.177e-05/0.5649, allocations: 12 kB / 1.525 GB, free: 7.781 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.251e-05/0.5649, allocations: 12.44 kB / 1.525 GB, free: 7.77 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003656/0.5653, allocations: 193.9 kB / 1.526 GB, free: 7.578 MB / 1.217 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.001966/0.5672, allocations: 1.295 MB / 1.527 GB, free: 6.152 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004099/0.5676, allocations: 189.2 kB / 1.527 GB, free: 5.961 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.5678, allocations: 88.77 kB / 1.527 GB, free: 5.871 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.5678, allocations: 4 kB / 1.527 GB, free: 5.867 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.5678, allocations: 34.56 kB / 1.527 GB, free: 5.824 MB / 1.217 GB Notification: Performance of pre-optimization done (n=19): time 1.443e-06/0.5678, allocations: 0 / 1.527 GB, free: 5.824 MB / 1.217 GB Notification: Performance of matching and sorting (n=19): time 0.0009205/0.5687, allocations: 328.5 kB / 1.528 GB, free: 5.496 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.5688, allocations: 55.41 kB / 1.528 GB, free: 5.43 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003331/0.5691, allocations: 304.5 kB / 1.528 GB, free: 5.125 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.5692, allocations: 29.7 kB / 1.528 GB, free: 5.09 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.5693, allocations: 196.3 kB / 1.528 GB, free: 4.895 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 6.878e-05/0.5694, allocations: 67.39 kB / 1.528 GB, free: 4.828 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.365e-05/0.5694, allocations: 45.7 kB / 1.528 GB, free: 4.777 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.5696, allocations: 338.8 kB / 1.529 GB, free: 4.438 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.5697, allocations: 59.98 kB / 1.529 GB, free: 4.379 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.5699, allocations: 125.8 kB / 1.529 GB, free: 4.234 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/0.5701, allocations: 203.5 kB / 1.529 GB, free: 4.016 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5701, allocations: 0 / 1.529 GB, free: 4.016 MB / 1.217 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003745/0.5705, allocations: 247 kB / 1.529 GB, free: 3.77 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.5705, allocations: 10.12 kB / 1.529 GB, free: 3.762 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.5705, allocations: 4 kB / 1.529 GB, free: 3.758 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.5705, allocations: 0 / 1.529 GB, free: 3.758 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.5707, allocations: 43.92 kB / 1.529 GB, free: 3.715 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.5708, allocations: 7.984 kB / 1.529 GB, free: 3.707 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002559/0.571, allocations: 20.08 kB / 1.529 GB, free: 3.688 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.571, allocations: 12 kB / 1.529 GB, free: 3.676 MB / 1.217 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.000176/0.5712, allocations: 161.7 kB / 1.529 GB, free: 3.508 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.442e-05/0.5713, allocations: 35.75 kB / 1.529 GB, free: 3.473 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.474e-05/0.5714, allocations: 35.02 kB / 1.529 GB, free: 3.434 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.5714, allocations: 0 / 1.529 GB, free: 3.434 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.5714, allocations: 4 kB / 1.529 GB, free: 3.43 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.5714, allocations: 0 / 1.529 GB, free: 3.43 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000497/0.5719, allocations: 376.3 kB / 1.53 GB, free: 3.02 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.5719, allocations: 11.92 kB / 1.53 GB, free: 3.008 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.572, allocations: 35.92 kB / 1.53 GB, free: 2.973 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002071/0.5723, allocations: 44.77 kB / 1.53 GB, free: 2.926 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.5723, allocations: 7.938 kB / 1.53 GB, free: 2.918 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001282/0.5735, allocations: 1.412 MB / 1.531 GB, free: 1.391 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.5736, allocations: 4 kB / 1.531 GB, free: 1.387 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005624/0.5741, allocations: 405.6 kB / 1.532 GB, free: 0.9727 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.5742, allocations: 47.78 kB / 1.532 GB, free: 0.9258 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.171e-05/0.5743, allocations: 15.92 kB / 1.532 GB, free: 0.9102 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.5745, allocations: 4 kB / 1.532 GB, free: 0.9062 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.5745, allocations: 11.98 kB / 1.532 GB, free: 0.8945 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.5746, allocations: 11.98 kB / 1.532 GB, free: 0.8828 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.000218/0.5748, allocations: 211.1 kB / 1.532 GB, free: 0.6758 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.5748, allocations: 0 / 1.532 GB, free: 0.6758 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0003943/0.5752, allocations: 111.8 kB / 1.532 GB, free: 0.5664 MB / 1.217 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.0002143/0.5754, allocations: 107.2 kB / 1.532 GB, free: 464 kB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0003175/0.5757, allocations: 155.8 kB / 1.532 GB, free: 308 kB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5757, allocations: 0 / 1.532 GB, free: 308 kB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003103/0.576, allocations: 204.4 kB / 1.533 GB, free: 92 kB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009501/0.577, allocations: 192.5 kB / 1.533 GB, free: 15.91 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.5783, allocations: 0.7744 MB / 1.533 GB, free: 15.1 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004538/0.5787, allocations: 0.7921 MB / 1.534 GB, free: 14.28 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.425e-05/0.5788, allocations: 27.44 kB / 1.534 GB, free: 14.25 MB / 1.232 GB Notification: Performance of SimCode: time 3.11e-07/0.5788, allocations: 0 / 1.534 GB, free: 14.25 MB / 1.232 GB Notification: Performance of Templates: time 0.009174/0.588, allocations: 5.785 MB / 1.54 GB, free: 8.504 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.7387739320111]