Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000965/0.000965, allocations: 80.3 kB / 21.47 MB, free: 3.035 MB / 18.57 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.001076/0.001076, allocations: 170.5 kB / 24.86 MB, free: 8.367 MB / 18.57 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 0.9603/0.9603, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.838/1.838, allocations: 359 MB / 0.6063 GB, free: 10.87 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Examples.Tutorial.SpaceCooling.System1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.7882 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.518e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1266/0.1266, allocations: 144.4 MB / 0.9292 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.004315/0.1309, allocations: 2.29 MB / 0.9315 GB, free: 9.164 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005831/0.1315, allocations: 23.81 kB / 0.9315 GB, free: 9.141 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0006335/0.1321, allocations: 139 kB / 0.9316 GB, free: 9.004 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001416/0.1335, allocations: 0.6371 MB / 0.9322 GB, free: 8.363 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006113/0.1341, allocations: 327.2 kB / 0.9326 GB, free: 8.043 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001275/0.1354, allocations: 0.9621 MB / 0.9335 GB, free: 7.078 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003854/0.1358, allocations: 218.7 kB / 0.9337 GB, free: 6.855 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001355/0.1372, allocations: 0.5545 MB / 0.9342 GB, free: 6.316 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004992/0.1377, allocations: 251.2 kB / 0.9345 GB, free: 6.07 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 6.086e-05/0.1377, allocations: 32 kB / 0.9345 GB, free: 6.039 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006462/0.1384, allocations: 279.2 kB / 0.9348 GB, free: 5.766 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.1385, allocations: 139.6 kB / 0.9349 GB, free: 5.629 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.1387, allocations: 147.7 kB / 0.9351 GB, free: 5.484 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0007124/0.1394, allocations: 458.5 kB / 0.9355 GB, free: 5.035 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1394, allocations: 0 / 0.9355 GB, free: 5.035 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1394, allocations: 0 / 0.9355 GB, free: 5.035 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.1394, allocations: 0 / 0.9355 GB, free: 5.035 MB / 0.8855 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.000781/0.1402, allocations: 0.733 MB / 0.9362 GB, free: 4.266 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.1402, allocations: 8.031 kB / 0.9362 GB, free: 4.258 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005588/0.1408, allocations: 160.4 kB / 0.9364 GB, free: 4.102 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003791/0.1411, allocations: 347 kB / 0.9367 GB, free: 3.738 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.1412, allocations: 20.62 kB / 0.9367 GB, free: 3.719 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.744e-05/0.1412, allocations: 32 kB / 0.9368 GB, free: 3.688 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002557/0.1415, allocations: 295.1 kB / 0.937 GB, free: 3.363 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.1415, allocations: 4 kB / 0.937 GB, free: 3.359 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.1415, allocations: 8 kB / 0.937 GB, free: 3.352 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/0.1415, allocations: 8.5 kB / 0.9371 GB, free: 3.344 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.1416, allocations: 89.41 kB / 0.9371 GB, free: 3.254 MB / 0.8855 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.0009114/0.1425, allocations: 0.8106 MB / 0.9379 GB, free: 2.414 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.1427, allocations: 131.2 kB / 0.9381 GB, free: 2.273 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.24e-05/0.1428, allocations: 55.59 kB / 0.9381 GB, free: 2.215 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.1428, allocations: 4 kB / 0.9381 GB, free: 2.211 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.1428, allocations: 33.39 kB / 0.9381 GB, free: 2.168 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=19): time 1.563e-06/0.1428, allocations: 0 / 0.9381 GB, free: 2.168 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.0005188/0.1433, allocations: 231 kB / 0.9384 GB, free: 1.934 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.1434, allocations: 51.41 kB / 0.9384 GB, free: 1.871 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.1436, allocations: 326.2 kB / 0.9387 GB, free: 1.531 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.1436, allocations: 29.7 kB / 0.9388 GB, free: 1.496 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.1437, allocations: 247.3 kB / 0.939 GB, free: 1.25 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.921e-05/0.1438, allocations: 79.36 kB / 0.9391 GB, free: 1.172 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.504e-05/0.1438, allocations: 43.36 kB / 0.9391 GB, free: 1.121 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.144, allocations: 0.5234 MB / 0.9396 GB, free: 0.5859 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.599e-05/0.144, allocations: 19.98 kB / 0.9396 GB, free: 0.5664 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.988e-05/0.1441, allocations: 93.77 kB / 0.9397 GB, free: 456 kB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.1442, allocations: 132.1 kB / 0.9399 GB, free: 296 kB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.1442, allocations: 4 kB / 0.9399 GB, free: 292 kB / 0.8855 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002035/0.1444, allocations: 175.9 kB / 0.94 GB, free: 112 kB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.1444, allocations: 4 kB / 0.94 GB, free: 108 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1445, allocations: 0 / 0.94 GB, free: 108 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.1445, allocations: 4 kB / 0.94 GB, free: 104 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.1446, allocations: 43.92 kB / 0.9401 GB, free: 60 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1446, allocations: 4.188 kB / 0.9401 GB, free: 56 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.1447, allocations: 19.89 kB / 0.9401 GB, free: 36 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.1447, allocations: 7.938 kB / 0.9401 GB, free: 28 kB / 0.8855 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.0001295/0.1448, allocations: 172.5 kB / 0.9403 GB, free: 15.85 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.701e-05/0.1449, allocations: 39.81 kB / 0.9403 GB, free: 15.81 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.763e-05/0.1449, allocations: 34.3 kB / 0.9403 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1449, allocations: 0 / 0.9403 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.1449, allocations: 0 / 0.9403 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.145, allocations: 3.984 kB / 0.9403 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003059/0.1453, allocations: 237 kB / 0.9406 GB, free: 15.51 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1453, allocations: 3.938 kB / 0.9406 GB, free: 15.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.042e-05/0.1453, allocations: 31.98 kB / 0.9406 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001752/0.1455, allocations: 47.58 kB / 0.9406 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.1455, allocations: 8 kB / 0.9407 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001187/0.1467, allocations: 1.756 MB / 0.9424 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1467, allocations: 4 kB / 0.9424 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/0.147, allocations: 351.2 kB / 0.9427 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 7.313e-05/0.1471, allocations: 47.8 kB / 0.9428 GB, free: 13.13 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.1471, allocations: 11.92 kB / 0.9428 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.1473, allocations: 4 kB / 0.9428 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.397e-05/0.1473, allocations: 15.97 kB / 0.9428 GB, free: 13.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.1473, allocations: 4 kB / 0.9428 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001124/0.1474, allocations: 215 kB / 0.943 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.1474, allocations: 0 / 0.943 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003031/0.1477, allocations: 111.8 kB / 0.9431 GB, free: 12.77 MB / 0.9011 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.0003014/0.148, allocations: 115.2 kB / 0.9432 GB, free: 12.65 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001435/0.1482, allocations: 95.86 kB / 0.9433 GB, free: 12.56 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1482, allocations: 4.125 kB / 0.9433 GB, free: 12.55 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.1483, allocations: 233.3 kB / 0.9435 GB, free: 12.3 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005733/0.1489, allocations: 196.3 kB / 0.9437 GB, free: 12.12 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009355/0.1499, allocations: 0.6486 MB / 0.9443 GB, free: 11.44 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.224e-05/0.1499, allocations: 97.53 kB / 0.9444 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001347/0.1501, allocations: 42.95 kB / 0.9445 GB, free: 11.28 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002604/0.1503, allocations: 206.1 kB / 0.9447 GB, free: 11.07 MB / 0.9011 GB Notification: Performance of SimCode: time 7.12e-07/0.1503, allocations: 0 / 0.9447 GB, free: 11.07 MB / 0.9011 GB Notification: Performance of Templates: time 0.009352/0.1597, allocations: 7.277 MB / 0.9518 GB, free: 4.004 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.439508412964642]