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.001264/0.001264, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001721/0.001721, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9566/0.9566, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.728/1.728, allocations: 359 MB / 0.6052 GB, free: 11.01 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.312e-06/1.312e-06, allocations: 0 / 0.787 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.37e-05/2.501e-05, allocations: 2.312 kB / 0.787 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1319/0.1319, allocations: 147.1 MB / 0.9307 GB, free: 8.961 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.003539/0.1354, allocations: 2.315 MB / 0.933 GB, free: 6.641 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005127/0.1359, allocations: 19.88 kB / 0.933 GB, free: 6.621 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0005015/0.1365, allocations: 139 kB / 0.9331 GB, free: 6.484 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001199/0.1377, allocations: 0.641 MB / 0.9337 GB, free: 5.84 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005408/0.1382, allocations: 323.2 kB / 0.934 GB, free: 5.523 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001022/0.1392, allocations: 0.9543 MB / 0.935 GB, free: 4.566 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003427/0.1396, allocations: 222.7 kB / 0.9352 GB, free: 4.34 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001025/0.1406, allocations: 0.5597 MB / 0.9357 GB, free: 3.801 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003882/0.141, allocations: 251.2 kB / 0.936 GB, free: 3.555 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 4.29e-05/0.141, allocations: 32 kB / 0.936 GB, free: 3.523 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004678/0.1415, allocations: 283.2 kB / 0.9363 GB, free: 3.246 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.1416, allocations: 143.5 kB / 0.9364 GB, free: 3.105 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.1417, allocations: 143.7 kB / 0.9365 GB, free: 2.965 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0006914/0.1424, allocations: 470.4 kB / 0.937 GB, free: 2.504 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.1424, allocations: 0 / 0.937 GB, free: 2.504 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.034e-06/0.1424, allocations: 0 / 0.937 GB, free: 2.504 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.1424, allocations: 0 / 0.937 GB, free: 2.504 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.0008313/0.1433, allocations: 0.7253 MB / 0.9377 GB, free: 1.742 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.1433, allocations: 12.03 kB / 0.9377 GB, free: 1.73 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005927/0.1439, allocations: 160.4 kB / 0.9379 GB, free: 1.574 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003918/0.1443, allocations: 343.1 kB / 0.9382 GB, free: 1.215 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.1443, allocations: 28.62 kB / 0.9382 GB, free: 1.188 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.689e-05/0.1443, allocations: 27.98 kB / 0.9382 GB, free: 1.16 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003031/0.1447, allocations: 311.2 kB / 0.9385 GB, free: 0.8203 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.1447, allocations: 0 / 0.9385 GB, free: 0.8203 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.1447, allocations: 12 kB / 0.9386 GB, free: 0.8086 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.307e-05/0.1447, allocations: 8.5 kB / 0.9386 GB, free: 0.8008 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.1449, allocations: 102.9 kB / 0.9387 GB, free: 0.7031 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.001058/0.1459, allocations: 0.8725 MB / 0.9395 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/0.1462, allocations: 129.3 kB / 0.9396 GB, free: 15.65 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.793e-05/0.1462, allocations: 59.66 kB / 0.9397 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.1463, allocations: 7.984 kB / 0.9397 GB, free: 15.58 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.1463, allocations: 37.33 kB / 0.9397 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=19): time 1.593e-06/0.1463, allocations: 0 / 0.9397 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of matching and sorting (n=19): time 0.0005316/0.1468, allocations: 251.2 kB / 0.94 GB, free: 15.28 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.1468, allocations: 55.39 kB / 0.94 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002463/0.1471, allocations: 330.3 kB / 0.9403 GB, free: 14.87 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.1471, allocations: 25.7 kB / 0.9404 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.1472, allocations: 251.3 kB / 0.9406 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.1473, allocations: 67.39 kB / 0.9407 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.281e-05/0.1473, allocations: 51.36 kB / 0.9407 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1474, allocations: 0.5157 MB / 0.9412 GB, free: 13.94 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.94e-05/0.1475, allocations: 31.97 kB / 0.9413 GB, free: 13.91 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.106e-05/0.1476, allocations: 105.7 kB / 0.9414 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.1478, allocations: 142.8 kB / 0.9415 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.1478, allocations: 0 / 0.9415 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002131/0.148, allocations: 187 kB / 0.9417 GB, free: 13.42 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.148, allocations: 8 kB / 0.9417 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.148, allocations: 8.172 kB / 0.9417 GB, free: 13.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.148, allocations: 4 kB / 0.9417 GB, free: 13.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.1481, allocations: 39.98 kB / 0.9417 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.1481, allocations: 3.938 kB / 0.9417 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.1483, allocations: 23.83 kB / 0.9418 GB, free: 13.33 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.1483, allocations: 8 kB / 0.9418 GB, free: 13.32 MB / 0.9011 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 9.373e-05/0.1484, allocations: 168.5 kB / 0.9419 GB, free: 13.15 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/0.1484, allocations: 39.81 kB / 0.942 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.524e-05/0.1485, allocations: 38.3 kB / 0.942 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1485, allocations: 0 / 0.942 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.1485, allocations: 4 kB / 0.942 GB, free: 13.06 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1485, allocations: 7.984 kB / 0.942 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/0.1488, allocations: 276.4 kB / 0.9423 GB, free: 12.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1488, allocations: 0 / 0.9423 GB, free: 12.75 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.925e-05/0.1488, allocations: 31.98 kB / 0.9423 GB, free: 12.72 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001951/0.149, allocations: 39.66 kB / 0.9423 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.1491, allocations: 12 kB / 0.9424 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008388/0.1499, allocations: 1.787 MB / 0.9441 GB, free: 10.76 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1499, allocations: 7.938 kB / 0.9441 GB, free: 10.75 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.1502, allocations: 363.2 kB / 0.9444 GB, free: 10.37 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 6.776e-05/0.1503, allocations: 47.78 kB / 0.9445 GB, free: 10.32 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.1503, allocations: 8 kB / 0.9445 GB, free: 10.32 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.1504, allocations: 14.42 kB / 0.9445 GB, free: 10.3 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.1505, allocations: 7.984 kB / 0.9445 GB, free: 10.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.1505, allocations: 11.98 kB / 0.9445 GB, free: 10.29 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001521/0.1506, allocations: 223 kB / 0.9447 GB, free: 10.07 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.1506, allocations: 0 / 0.9447 GB, free: 10.07 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002921/0.1509, allocations: 111.8 kB / 0.9449 GB, free: 9.957 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.0001821/0.1511, allocations: 115.2 kB / 0.945 GB, free: 9.836 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001998/0.1513, allocations: 109.5 kB / 0.9451 GB, free: 9.727 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.1513, allocations: 0 / 0.9451 GB, free: 9.727 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002287/0.1515, allocations: 241.3 kB / 0.9453 GB, free: 9.469 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005582/0.1521, allocations: 204 kB / 0.9455 GB, free: 9.277 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.1531, allocations: 0.6312 MB / 0.9461 GB, free: 8.613 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.674e-05/0.1532, allocations: 105.5 kB / 0.9462 GB, free: 8.488 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001689/0.1533, allocations: 62.91 kB / 0.9463 GB, free: 8.426 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.217e-05/0.1534, allocations: 28.5 kB / 0.9463 GB, free: 8.398 MB / 0.9011 GB Notification: Performance of SimCode: time 1.122e-06/0.1534, allocations: 0 / 0.9463 GB, free: 8.398 MB / 0.9011 GB Notification: Performance of Templates: time 0.01252/0.1659, allocations: 6.985 MB / 0.9531 GB, free: 1.598 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.308671093080193]