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.0008774/0.0008774, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001043/0.00192, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007015/0.0007015, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008305/0.001532, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9426/0.9426, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1174/1.06, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.433/2.433, allocations: 446.7 MB / 0.6745 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2738/2.707, allocations: 145.9 MB / 0.817 GB, free: 4.203 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.8183 GB, free: 2.934 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.333e-05/1.517e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.93 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1438/0.1438, allocations: 146.9 MB / 0.9618 GB, free: 15.4 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002887/0.1467, allocations: 2.361 MB / 0.9641 GB, free: 13.04 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002344/0.147, allocations: 19.81 kB / 0.9641 GB, free: 13.02 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004291/0.1474, allocations: 139 kB / 0.9642 GB, free: 12.88 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0009168/0.1483, allocations: 0.6255 MB / 0.9648 GB, free: 12.25 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004294/0.1487, allocations: 319.2 kB / 0.9651 GB, free: 11.94 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0008885/0.1496, allocations: 0.9544 MB / 0.9661 GB, free: 10.98 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006488/0.1503, allocations: 250.5 kB / 0.9663 GB, free: 10.74 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008923/0.1512, allocations: 0.6288 MB / 0.9669 GB, free: 10.13 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002941/0.1515, allocations: 251.2 kB / 0.9672 GB, free: 9.883 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.014e-05/0.1515, allocations: 32 kB / 0.9672 GB, free: 9.852 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003302/0.1518, allocations: 287.1 kB / 0.9675 GB, free: 9.57 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.1519, allocations: 123.6 kB / 0.9676 GB, free: 9.449 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.1521, allocations: 127.8 kB / 0.9677 GB, free: 9.324 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000539/0.1526, allocations: 422.6 kB / 0.9681 GB, free: 8.91 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.769e-05/0.1526, allocations: 0 / 0.9681 GB, free: 8.91 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.056e-06/0.1526, allocations: 3.984 kB / 0.9681 GB, free: 8.906 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.412e-05/0.1526, allocations: 0 / 0.9681 GB, free: 8.906 MB / 0.948 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.0009437/0.1536, allocations: 0.6823 MB / 0.9688 GB, free: 8.199 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.1536, allocations: 8.031 kB / 0.9688 GB, free: 8.191 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005562/0.1542, allocations: 237.6 kB / 0.969 GB, free: 7.941 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003779/0.1546, allocations: 312.3 kB / 0.9693 GB, free: 7.605 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.1546, allocations: 20.62 kB / 0.9693 GB, free: 7.586 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.892e-05/0.1546, allocations: 28 kB / 0.9694 GB, free: 7.559 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.1549, allocations: 292.4 kB / 0.9696 GB, free: 7.238 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.1549, allocations: 7.984 kB / 0.9697 GB, free: 7.23 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.1549, allocations: 12 kB / 0.9697 GB, free: 7.219 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.1549, allocations: 12.48 kB / 0.9697 GB, free: 7.203 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.155, allocations: 81.39 kB / 0.9698 GB, free: 7.125 MB / 0.948 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.0008403/0.1559, allocations: 0.6172 MB / 0.9704 GB, free: 6.488 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.1561, allocations: 117.2 kB / 0.9705 GB, free: 6.363 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.581e-05/0.1561, allocations: 44.72 kB / 0.9705 GB, free: 6.316 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/0.1561, allocations: 4 kB / 0.9705 GB, free: 6.312 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.1562, allocations: 38.55 kB / 0.9706 GB, free: 6.266 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 1.933e-06/0.1562, allocations: 0 / 0.9706 GB, free: 6.266 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0004062/0.1566, allocations: 193.5 kB / 0.9707 GB, free: 6.066 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.1566, allocations: 59.39 kB / 0.9708 GB, free: 5.996 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.1568, allocations: 259 kB / 0.971 GB, free: 5.727 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.1568, allocations: 29.7 kB / 0.9711 GB, free: 5.691 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.983e-05/0.1569, allocations: 169.2 kB / 0.9712 GB, free: 5.523 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.1569, allocations: 83.25 kB / 0.9713 GB, free: 5.441 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-05/0.157, allocations: 41.69 kB / 0.9714 GB, free: 5.395 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.1571, allocations: 346.7 kB / 0.9717 GB, free: 5.047 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.483e-05/0.1571, allocations: 26.81 kB / 0.9717 GB, free: 5.02 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.274e-05/0.1572, allocations: 65.98 kB / 0.9718 GB, free: 4.934 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.1573, allocations: 121.8 kB / 0.9719 GB, free: 4.793 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.1573, allocations: 0 / 0.9719 GB, free: 4.793 MB / 0.948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001512/0.1574, allocations: 139.1 kB / 0.972 GB, free: 4.652 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.1574, allocations: 8 kB / 0.972 GB, free: 4.645 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.1574, allocations: 7.984 kB / 0.972 GB, free: 4.637 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.1575, allocations: 7.984 kB / 0.972 GB, free: 4.629 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.1576, allocations: 47.92 kB / 0.9721 GB, free: 4.582 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1576, allocations: 8.172 kB / 0.9721 GB, free: 4.574 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.1577, allocations: 19.89 kB / 0.9721 GB, free: 4.555 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.1577, allocations: 8 kB / 0.9721 GB, free: 4.547 MB / 0.948 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.85e-05/0.1578, allocations: 128.5 kB / 0.9722 GB, free: 4.41 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/0.1578, allocations: 23.97 kB / 0.9723 GB, free: 4.387 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.56e-05/0.1579, allocations: 34.3 kB / 0.9723 GB, free: 4.352 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1579, allocations: 4 kB / 0.9723 GB, free: 4.348 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.1579, allocations: 0 / 0.9723 GB, free: 4.348 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.1579, allocations: 3.984 kB / 0.9723 GB, free: 4.344 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.1581, allocations: 193.6 kB / 0.9725 GB, free: 4.137 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.1581, allocations: 4 kB / 0.9725 GB, free: 4.133 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.1583, allocations: 51.91 kB / 0.9725 GB, free: 4.082 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.31e-05/0.1584, allocations: 39.73 kB / 0.9726 GB, free: 4.043 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001733/0.1586, allocations: 50.47 kB / 0.9726 GB, free: 3.988 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.1586, allocations: 4 kB / 0.9726 GB, free: 3.984 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007075/0.1593, allocations: 1.227 MB / 0.9738 GB, free: 2.66 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1593, allocations: 3.938 kB / 0.9738 GB, free: 2.656 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.1595, allocations: 268.7 kB / 0.9741 GB, free: 2.371 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.1595, allocations: 3.938 kB / 0.9741 GB, free: 2.367 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.1596, allocations: 8 kB / 0.9741 GB, free: 2.359 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.149e-05/0.1597, allocations: 15.97 kB / 0.9741 GB, free: 2.344 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.1597, allocations: 8.031 kB / 0.9741 GB, free: 2.336 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.951e-05/0.1597, allocations: 100.6 kB / 0.9742 GB, free: 2.234 MB / 0.948 GB Notification: Performance of sort global known variables: time 2e-08/0.1597, allocations: 0 / 0.9742 GB, free: 2.234 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002221/0.16, allocations: 111.8 kB / 0.9743 GB, free: 2.125 MB / 0.948 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.0001289/0.1601, allocations: 88.41 kB / 0.9744 GB, free: 2.031 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001331/0.1602, allocations: 91.41 kB / 0.9745 GB, free: 1.941 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/0.1602, allocations: 7.938 kB / 0.9745 GB, free: 1.934 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.1604, allocations: 175.3 kB / 0.9747 GB, free: 1.746 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004796/0.1609, allocations: 226 kB / 0.9749 GB, free: 1.527 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.1633, allocations: 0.599 MB / 0.9755 GB, free: 0.8945 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.71e-05/0.1633, allocations: 105.5 kB / 0.9756 GB, free: 0.7734 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001295/0.1635, allocations: 50.94 kB / 0.9756 GB, free: 0.7227 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002428/0.1637, allocations: 161.2 kB / 0.9758 GB, free: 0.5664 MB / 0.948 GB Notification: Performance of SimCode: time 7.01e-07/0.1637, allocations: 0 / 0.9758 GB, free: 0.5664 MB / 0.948 GB Notification: Performance of Templates: time 0.008862/0.1726, allocations: 7.661 MB / 0.9833 GB, free: 9.121 MB / 0.9636 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.ref.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.5247028255835176]