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.0009471/0.0009471, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009579/0.0009579, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9591/0.9591, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.862/1.862, allocations: 377.8 MB / 0.6239 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 178] 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.773e-06/1.773e-06, allocations: 0 / 0.8115 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.796e-05, allocations: 3.312 kB / 0.8115 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1453/0.1454, allocations: 158.5 MB / 0.9663 GB, free: 3.078 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.003668/0.149, allocations: 2.949 MB / 0.9691 GB, free: 124 kB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002911/0.1493, allocations: 23.81 kB / 0.9692 GB, free: 100 kB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006641/0.15, allocations: 194.8 kB / 0.9694 GB, free: 15.91 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.001378/0.1514, allocations: 0.8394 MB / 0.9702 GB, free: 15.06 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.000498/0.1519, allocations: 363 kB / 0.9705 GB, free: 14.71 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0008785/0.1527, allocations: 0.9738 MB / 0.9715 GB, free: 13.73 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003118/0.1531, allocations: 226.6 kB / 0.9717 GB, free: 13.5 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005838/0.1536, allocations: 0.4946 MB / 0.9722 GB, free: 13 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005491/0.1542, allocations: 274 kB / 0.9724 GB, free: 12.75 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 4.416e-05/0.1542, allocations: 35.98 kB / 0.9725 GB, free: 12.71 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006391/0.1549, allocations: 0.5373 MB / 0.973 GB, free: 12.17 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.155, allocations: 139.5 kB / 0.9731 GB, free: 12.04 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.1551, allocations: 151.7 kB / 0.9733 GB, free: 11.89 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0007077/0.1558, allocations: 0.5723 MB / 0.9738 GB, free: 11.31 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1558, allocations: 4 kB / 0.9738 GB, free: 11.31 MB / 0.9323 GB Notification: Performance of FrontEnd: time 8.12e-07/0.1558, allocations: 0 / 0.9738 GB, free: 11.31 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.75e-06/0.1558, allocations: 0 / 0.9738 GB, free: 11.31 MB / 0.9323 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.0007984/0.1566, allocations: 0.7519 MB / 0.9746 GB, free: 10.52 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.1567, allocations: 8.031 kB / 0.9746 GB, free: 10.51 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006718/0.1574, allocations: 171.5 kB / 0.9747 GB, free: 10.34 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000405/0.1578, allocations: 362.8 kB / 0.9751 GB, free: 9.965 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.1578, allocations: 20.5 kB / 0.9751 GB, free: 9.945 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.111e-05/0.1578, allocations: 31.98 kB / 0.9751 GB, free: 9.914 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003101/0.1581, allocations: 311.2 kB / 0.9754 GB, free: 9.574 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1581, allocations: 0 / 0.9754 GB, free: 9.574 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.1582, allocations: 12 kB / 0.9754 GB, free: 9.562 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.657e-05/0.1582, allocations: 16.47 kB / 0.9755 GB, free: 9.547 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.1584, allocations: 98.92 kB / 0.9756 GB, free: 9.449 MB / 0.9323 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.001037/0.1594, allocations: 0.8764 MB / 0.9764 GB, free: 8.531 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.1596, allocations: 131.4 kB / 0.9765 GB, free: 8.391 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.386e-05/0.1597, allocations: 51.66 kB / 0.9766 GB, free: 8.336 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.1597, allocations: 4 kB / 0.9766 GB, free: 8.332 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.1598, allocations: 41.39 kB / 0.9766 GB, free: 8.281 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=19): time 1.393e-06/0.1598, allocations: 4 kB / 0.9766 GB, free: 8.277 MB / 0.9323 GB Notification: Performance of matching and sorting (n=19): time 0.0005276/0.1603, allocations: 243.4 kB / 0.9769 GB, free: 8.031 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.1603, allocations: 59.34 kB / 0.9769 GB, free: 7.961 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.1605, allocations: 326.3 kB / 0.9772 GB, free: 7.625 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.1606, allocations: 37.7 kB / 0.9773 GB, free: 7.582 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.1607, allocations: 243.3 kB / 0.9775 GB, free: 7.34 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.499e-05/0.1607, allocations: 75.39 kB / 0.9776 GB, free: 7.266 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.452e-05/0.1608, allocations: 47.36 kB / 0.9776 GB, free: 7.211 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1609, allocations: 0.5157 MB / 0.9781 GB, free: 6.684 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.314e-05/0.161, allocations: 31.92 kB / 0.9781 GB, free: 6.652 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.552e-05/0.1611, allocations: 104.8 kB / 0.9782 GB, free: 6.523 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.1612, allocations: 153.6 kB / 0.9784 GB, free: 6.344 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1612, allocations: 3.938 kB / 0.9784 GB, free: 6.34 MB / 0.9323 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002173/0.1614, allocations: 186.5 kB / 0.9786 GB, free: 6.152 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1615, allocations: 4 kB / 0.9786 GB, free: 6.148 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1615, allocations: 4 kB / 0.9786 GB, free: 6.145 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.1615, allocations: 0 / 0.9786 GB, free: 6.145 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.1616, allocations: 48.11 kB / 0.9786 GB, free: 6.098 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1616, allocations: 11.94 kB / 0.9786 GB, free: 6.086 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.1617, allocations: 11.89 kB / 0.9787 GB, free: 6.074 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.1617, allocations: 12 kB / 0.9787 GB, free: 6.062 MB / 0.9323 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.763e-05/0.1618, allocations: 172.5 kB / 0.9788 GB, free: 5.883 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.328e-05/0.1619, allocations: 31.81 kB / 0.9789 GB, free: 5.852 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.98e-05/0.1619, allocations: 38.3 kB / 0.9789 GB, free: 5.816 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.1619, allocations: 4 kB / 0.9789 GB, free: 5.812 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.1619, allocations: 3.938 kB / 0.9789 GB, free: 5.809 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.1619, allocations: 3.984 kB / 0.9789 GB, free: 5.805 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000293/0.1622, allocations: 276.4 kB / 0.9792 GB, free: 5.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1622, allocations: 4 kB / 0.9792 GB, free: 5.496 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.391e-05/0.1623, allocations: 31.92 kB / 0.9792 GB, free: 5.465 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001915/0.1625, allocations: 47.64 kB / 0.9793 GB, free: 5.414 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.1625, allocations: 7.984 kB / 0.9793 GB, free: 5.406 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009199/0.1635, allocations: 1.783 MB / 0.981 GB, free: 3.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1635, allocations: 0 / 0.981 GB, free: 3.5 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003449/0.1638, allocations: 364.9 kB / 0.9813 GB, free: 3.121 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 7.268e-05/0.1639, allocations: 47.78 kB / 0.9814 GB, free: 3.074 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.1639, allocations: 8 kB / 0.9814 GB, free: 3.066 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.164, allocations: 11.98 kB / 0.9814 GB, free: 3.055 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.633e-05/0.164, allocations: 11.98 kB / 0.9814 GB, free: 3.043 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.1641, allocations: 11.98 kB / 0.9814 GB, free: 3.031 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001314/0.1642, allocations: 227 kB / 0.9817 GB, free: 2.809 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.1642, allocations: 0 / 0.9817 GB, free: 2.809 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002578/0.1645, allocations: 103.8 kB / 0.9818 GB, free: 2.707 MB / 0.9323 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.0001658/0.1646, allocations: 135.4 kB / 0.9819 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0001779/0.1648, allocations: 113.7 kB / 0.982 GB, free: 2.449 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1648, allocations: 0 / 0.982 GB, free: 2.449 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002655/0.1651, allocations: 241.3 kB / 0.9822 GB, free: 2.191 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000664/0.1657, allocations: 199.2 kB / 0.9824 GB, free: 2.008 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.1668, allocations: 0.6273 MB / 0.983 GB, free: 1.352 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.364e-05/0.1668, allocations: 109.5 kB / 0.9831 GB, free: 1.227 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001432/0.167, allocations: 54.92 kB / 0.9832 GB, free: 1.172 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.234e-05/0.167, allocations: 28.5 kB / 0.9832 GB, free: 1.145 MB / 0.9323 GB Notification: Performance of SimCode: time 1.243e-06/0.167, allocations: 0 / 0.9832 GB, free: 1.145 MB / 0.9323 GB Notification: Performance of Templates: time 0.008072/0.1751, allocations: 6.661 MB / 0.9897 GB, free: 10.68 MB / 0.948 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.294544118922204]