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.0009635/0.0009635, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009266/0.0009266, allocations: 173 kB / 23.5 MB, free: 1.055 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.9574/0.9574, allocations: 177.1 MB / 203.8 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.135/2.135, allocations: 429.5 MB / 0.6736 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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 2.765e-06/2.765e-06, allocations: 0 / 0.8781 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.988e-05/2.264e-05, allocations: 11.94 kB / 0.8781 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1345/0.1345, allocations: 158.5 MB / 1.033 GB, free: 7.613 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.003343/0.1378, allocations: 2.96 MB / 1.036 GB, free: 4.648 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002725/0.1381, allocations: 23.81 kB / 1.036 GB, free: 4.625 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005849/0.1387, allocations: 194.8 kB / 1.036 GB, free: 4.434 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001335/0.14, allocations: 0.8511 MB / 1.037 GB, free: 3.578 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005005/0.1405, allocations: 351 kB / 1.037 GB, free: 3.234 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0009775/0.1415, allocations: 0.9778 MB / 1.038 GB, free: 2.25 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002752/0.1418, allocations: 222.6 kB / 1.038 GB, free: 2.031 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005558/0.1423, allocations: 0.4908 MB / 1.039 GB, free: 1.539 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005676/0.1429, allocations: 282.8 kB / 1.039 GB, free: 1.277 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.022e-05/0.143, allocations: 35.98 kB / 1.039 GB, free: 1.242 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006404/0.1436, allocations: 0.5334 MB / 1.04 GB, free: 0.707 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.1437, allocations: 147.5 kB / 1.04 GB, free: 0.5625 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.1438, allocations: 151.7 kB / 1.04 GB, free: 424 kB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007249/0.1446, allocations: 0.5723 MB / 1.041 GB, free: 15.84 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1446, allocations: 0 / 1.041 GB, free: 15.84 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1446, allocations: 0 / 1.041 GB, free: 15.84 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.1446, allocations: 0 / 1.041 GB, free: 15.84 MB / 1.01 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.000827/0.1454, allocations: 0.748 MB / 1.041 GB, free: 15.05 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.1454, allocations: 12.03 kB / 1.041 GB, free: 15.04 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006767/0.1461, allocations: 171.5 kB / 1.041 GB, free: 14.88 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004217/0.1465, allocations: 370.8 kB / 1.042 GB, free: 14.49 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.1466, allocations: 16.5 kB / 1.042 GB, free: 14.47 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.022e-05/0.1466, allocations: 31.95 kB / 1.042 GB, free: 14.44 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003364/0.1469, allocations: 311.2 kB / 1.042 GB, free: 14.1 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.147, allocations: 3.984 kB / 1.042 GB, free: 14.1 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.328e-05/0.147, allocations: 12 kB / 1.042 GB, free: 14.09 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.438e-05/0.147, allocations: 12.5 kB / 1.042 GB, free: 14.07 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001799/0.1472, allocations: 110.8 kB / 1.042 GB, free: 13.96 MB / 1.01 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.000999/0.1482, allocations: 0.8609 MB / 1.043 GB, free: 13.06 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.1484, allocations: 127.4 kB / 1.043 GB, free: 12.92 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.418e-05/0.1485, allocations: 56 kB / 1.043 GB, free: 12.86 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 9.318e-06/0.1485, allocations: 4 kB / 1.043 GB, free: 12.86 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.1485, allocations: 45.34 kB / 1.043 GB, free: 12.8 MB / 1.01 GB Notification: Performance of pre-optimization done (n=19): time 1.673e-06/0.1485, allocations: 0 / 1.043 GB, free: 12.8 MB / 1.01 GB Notification: Performance of matching and sorting (n=19): time 0.000512/0.1491, allocations: 242.9 kB / 1.044 GB, free: 12.56 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.1491, allocations: 63.28 kB / 1.044 GB, free: 12.48 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/0.1493, allocations: 334.3 kB / 1.044 GB, free: 12.14 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.1494, allocations: 29.7 kB / 1.044 GB, free: 12.11 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.1495, allocations: 243.4 kB / 1.044 GB, free: 11.86 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.493e-05/0.1495, allocations: 71.39 kB / 1.044 GB, free: 11.79 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.217e-05/0.1496, allocations: 51.36 kB / 1.044 GB, free: 11.73 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1497, allocations: 0.5118 MB / 1.045 GB, free: 11.21 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.167e-05/0.1497, allocations: 31.97 kB / 1.045 GB, free: 11.18 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.43e-05/0.1498, allocations: 105.7 kB / 1.045 GB, free: 11.05 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.15, allocations: 143.8 kB / 1.045 GB, free: 10.88 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.15, allocations: 0 / 1.045 GB, free: 10.88 MB / 1.01 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002192/0.1502, allocations: 185.3 kB / 1.045 GB, free: 10.69 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.1502, allocations: 8 kB / 1.045 GB, free: 10.68 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1502, allocations: 0 / 1.045 GB, free: 10.68 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.1502, allocations: 7.984 kB / 1.045 GB, free: 10.68 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.1503, allocations: 47.92 kB / 1.045 GB, free: 10.63 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.1503, allocations: 3.938 kB / 1.045 GB, free: 10.62 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.1505, allocations: 19.84 kB / 1.045 GB, free: 10.61 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.1505, allocations: 8 kB / 1.045 GB, free: 10.6 MB / 1.01 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.603e-05/0.1506, allocations: 176.6 kB / 1.046 GB, free: 10.41 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.901e-05/0.1506, allocations: 35.81 kB / 1.046 GB, free: 10.38 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.707e-05/0.1507, allocations: 38.3 kB / 1.046 GB, free: 10.34 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1507, allocations: 0 / 1.046 GB, free: 10.34 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.1507, allocations: 3.938 kB / 1.046 GB, free: 10.34 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1507, allocations: 4 kB / 1.046 GB, free: 10.33 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.151, allocations: 272.5 kB / 1.046 GB, free: 10.03 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.151, allocations: 0 / 1.046 GB, free: 10.03 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.113e-05/0.1511, allocations: 31.98 kB / 1.046 GB, free: 10 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001981/0.1513, allocations: 55.58 kB / 1.046 GB, free: 9.941 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.1513, allocations: 4 kB / 1.046 GB, free: 9.938 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009209/0.1522, allocations: 1.779 MB / 1.048 GB, free: 8.039 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1522, allocations: 3.938 kB / 1.048 GB, free: 8.035 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003177/0.1525, allocations: 368.9 kB / 1.048 GB, free: 7.652 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 7.523e-05/0.1526, allocations: 59.78 kB / 1.048 GB, free: 7.594 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.1526, allocations: 0 / 1.048 GB, free: 7.594 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.1527, allocations: 8 kB / 1.048 GB, free: 7.586 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.768e-05/0.1527, allocations: 11.97 kB / 1.048 GB, free: 7.574 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.1528, allocations: 11.94 kB / 1.048 GB, free: 7.562 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001309/0.1529, allocations: 227 kB / 1.048 GB, free: 7.34 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.1529, allocations: 0 / 1.048 GB, free: 7.34 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002589/0.1531, allocations: 107.9 kB / 1.048 GB, free: 7.234 MB / 1.01 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.0001489/0.1533, allocations: 129.8 kB / 1.049 GB, free: 7.098 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001828/0.1535, allocations: 117.1 kB / 1.049 GB, free: 6.98 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1535, allocations: 384 / 1.049 GB, free: 6.98 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002122/0.1537, allocations: 241.4 kB / 1.049 GB, free: 6.723 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00057/0.1543, allocations: 196.1 kB / 1.049 GB, free: 6.535 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009374/0.1552, allocations: 0.6351 MB / 1.05 GB, free: 5.871 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.594e-05/0.1553, allocations: 113.5 kB / 1.05 GB, free: 5.742 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001342/0.1554, allocations: 50.94 kB / 1.05 GB, free: 5.691 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.12e-05/0.1555, allocations: 28.5 kB / 1.05 GB, free: 5.664 MB / 1.01 GB Notification: Performance of SimCode: time 7.41e-07/0.1555, allocations: 0 / 1.05 GB, free: 5.664 MB / 1.01 GB Notification: Performance of Templates: time 0.3579/0.5134, allocations: 6.679 MB / 1.056 GB, free: 220.5 MB / 1.01 GB " [Timeout remaining time 299] 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/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.991423765197396]