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.000929/0.000929, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001012/0.001012, allocations: 166 kB / 24.87 MB, free: 9.258 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 1.015/1.015, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.933/1.933, allocations: 377.9 MB / 0.6247 GB, free: 8.414 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.8127 GB, free: 1.531 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.436e-05/2.586e-05, allocations: 6.25 kB / 0.8127 GB, free: 1.523 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.134/0.134, allocations: 144.4 MB / 0.9537 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.003437/0.1374, allocations: 2.287 MB / 0.956 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003628/0.1378, allocations: 23.81 kB / 0.956 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005113/0.1383, allocations: 143 kB / 0.9561 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001229/0.1395, allocations: 0.6294 MB / 0.9567 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005614/0.1401, allocations: 343 kB / 0.9571 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0009795/0.1411, allocations: 0.9566 MB / 0.958 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003128/0.1414, allocations: 218.7 kB / 0.9582 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00137/0.1427, allocations: 0.5748 MB / 0.9588 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003976/0.1431, allocations: 263.2 kB / 0.959 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.077e-05/0.1432, allocations: 32 kB / 0.959 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004747/0.1437, allocations: 283.1 kB / 0.9593 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.1438, allocations: 139.5 kB / 0.9594 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.1439, allocations: 151.7 kB / 0.9596 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005949/0.1445, allocations: 458.5 kB / 0.96 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1445, allocations: 0 / 0.96 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1445, allocations: 0 / 0.96 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.1445, allocations: 0 / 0.96 GB, free: 10.2 MB / 0.9167 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.0007724/0.1453, allocations: 0.7252 MB / 0.9607 GB, free: 9.441 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.1453, allocations: 12.02 kB / 0.9607 GB, free: 9.43 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000572/0.1459, allocations: 156.4 kB / 0.9609 GB, free: 9.277 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/0.1463, allocations: 350.9 kB / 0.9612 GB, free: 8.906 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.1463, allocations: 20.62 kB / 0.9612 GB, free: 8.887 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.924e-05/0.1463, allocations: 28 kB / 0.9613 GB, free: 8.859 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.1466, allocations: 295.2 kB / 0.9616 GB, free: 8.535 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.1466, allocations: 0 / 0.9616 GB, free: 8.535 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.1466, allocations: 15.94 kB / 0.9616 GB, free: 8.52 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.1467, allocations: 8.5 kB / 0.9616 GB, free: 8.512 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.1468, allocations: 85.41 kB / 0.9617 GB, free: 8.43 MB / 0.9167 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.0009795/0.1478, allocations: 0.8185 MB / 0.9625 GB, free: 7.578 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.148, allocations: 127.2 kB / 0.9626 GB, free: 7.441 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.583e-05/0.148, allocations: 51.55 kB / 0.9626 GB, free: 7.387 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.1481, allocations: 4 kB / 0.9626 GB, free: 7.383 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.1481, allocations: 37.39 kB / 0.9627 GB, free: 7.336 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=19): time 2.064e-06/0.1481, allocations: 0 / 0.9627 GB, free: 7.336 MB / 0.9167 GB Notification: Performance of matching and sorting (n=19): time 0.0005183/0.1486, allocations: 235 kB / 0.9629 GB, free: 7.098 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/0.1486, allocations: 51.41 kB / 0.9629 GB, free: 7.035 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.1488, allocations: 322.2 kB / 0.9633 GB, free: 6.707 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.1488, allocations: 33.7 kB / 0.9633 GB, free: 6.668 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.149, allocations: 239.3 kB / 0.9635 GB, free: 6.43 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.713e-05/0.149, allocations: 87.34 kB / 0.9636 GB, free: 6.344 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.334e-05/0.1491, allocations: 43.36 kB / 0.9636 GB, free: 6.293 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1492, allocations: 0.5195 MB / 0.9641 GB, free: 5.762 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.403e-05/0.1492, allocations: 19.98 kB / 0.9642 GB, free: 5.742 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.914e-05/0.1493, allocations: 93.75 kB / 0.9643 GB, free: 5.621 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.1494, allocations: 139.1 kB / 0.9644 GB, free: 5.457 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.1494, allocations: 4 kB / 0.9644 GB, free: 5.453 MB / 0.9167 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001851/0.1496, allocations: 171.5 kB / 0.9646 GB, free: 5.281 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1496, allocations: 4 kB / 0.9646 GB, free: 5.277 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.1496, allocations: 4 kB / 0.9646 GB, free: 5.273 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.427e-06/0.1496, allocations: 0 / 0.9646 GB, free: 5.273 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.1497, allocations: 47.92 kB / 0.9646 GB, free: 5.227 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.1498, allocations: 7.984 kB / 0.9646 GB, free: 5.219 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.1499, allocations: 20.08 kB / 0.9646 GB, free: 5.199 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.1499, allocations: 4 kB / 0.9646 GB, free: 5.195 MB / 0.9167 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.0001023/0.15, allocations: 176.4 kB / 0.9648 GB, free: 5.012 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.768e-05/0.15, allocations: 35.81 kB / 0.9648 GB, free: 4.977 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.673e-05/0.1501, allocations: 38.3 kB / 0.9649 GB, free: 4.941 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1501, allocations: 0 / 0.9649 GB, free: 4.941 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.1501, allocations: 4 kB / 0.9649 GB, free: 4.938 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.1501, allocations: 7.984 kB / 0.9649 GB, free: 4.93 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002719/0.1504, allocations: 225 kB / 0.9651 GB, free: 4.684 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1504, allocations: 0 / 0.9651 GB, free: 4.684 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.56e-05/0.1505, allocations: 39.92 kB / 0.9651 GB, free: 4.645 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001832/0.1507, allocations: 47.62 kB / 0.9652 GB, free: 4.594 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.1507, allocations: 7.938 kB / 0.9652 GB, free: 4.586 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008982/0.1516, allocations: 1.756 MB / 0.9669 GB, free: 2.711 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1516, allocations: 0 / 0.9669 GB, free: 2.711 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003474/0.1519, allocations: 351.2 kB / 0.9672 GB, free: 2.344 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.915e-05/0.152, allocations: 47.8 kB / 0.9673 GB, free: 2.297 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.152, allocations: 15.92 kB / 0.9673 GB, free: 2.281 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.1521, allocations: 6.406 kB / 0.9673 GB, free: 2.277 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.056e-05/0.1522, allocations: 15.97 kB / 0.9673 GB, free: 2.262 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.1522, allocations: 0 / 0.9673 GB, free: 2.262 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001075/0.1523, allocations: 218.9 kB / 0.9675 GB, free: 2.047 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.51e-07/0.1523, allocations: 4.031 kB / 0.9675 GB, free: 2.043 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002852/0.1526, allocations: 111.8 kB / 0.9676 GB, free: 1.934 MB / 0.9167 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.0001469/0.1527, allocations: 101.9 kB / 0.9677 GB, free: 1.824 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001478/0.1529, allocations: 101.9 kB / 0.9678 GB, free: 1.723 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1529, allocations: 384 / 0.9678 GB, free: 1.723 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002043/0.1531, allocations: 241.3 kB / 0.9681 GB, free: 1.465 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005937/0.1537, allocations: 200.8 kB / 0.9683 GB, free: 1.273 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009498/0.1546, allocations: 0.6311 MB / 0.9689 GB, free: 0.6133 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000171/0.1548, allocations: 105.5 kB / 0.969 GB, free: 500 kB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001643/0.155, allocations: 42.95 kB / 0.969 GB, free: 456 kB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002705/0.1552, allocations: 206.1 kB / 0.9692 GB, free: 248 kB / 0.9167 GB Notification: Performance of SimCode: time 5.61e-07/0.1552, allocations: 0 / 0.9692 GB, free: 248 kB / 0.9167 GB Notification: Performance of Templates: time 0.009515/0.1647, allocations: 7.271 MB / 0.9763 GB, free: 9.184 MB / 0.9323 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.583689218852669]