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.0009412/0.0009412, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.0009382/0.0009382, allocations: 165 kB / 23.02 MB, free: 1.543 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.9799/0.9799, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.131/2.131, allocations: 429.4 MB / 0.6732 GB, free: 4.047 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 1.643e-06/1.643e-06, allocations: 1.094 kB / 0.8781 GB, free: 6.363 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.29e-05/2.455e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1365/0.1366, allocations: 147.1 MB / 1.022 GB, free: 2.719 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.003182/0.1397, allocations: 2.322 MB / 1.024 GB, free: 400 kB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003578/0.1401, allocations: 23.81 kB / 1.024 GB, free: 376 kB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0005166/0.1406, allocations: 131.1 kB / 1.024 GB, free: 244 kB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001196/0.1418, allocations: 0.6411 MB / 1.025 GB, free: 15.59 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005638/0.1424, allocations: 331.1 kB / 1.025 GB, free: 15.27 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0009814/0.1433, allocations: 0.9621 MB / 1.026 GB, free: 14.3 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003231/0.1437, allocations: 219.3 kB / 1.026 GB, free: 14.09 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006172/0.1443, allocations: 490.6 kB / 1.027 GB, free: 13.61 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006299/0.1449, allocations: 282.3 kB / 1.027 GB, free: 13.34 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 5.055e-05/0.145, allocations: 36 kB / 1.027 GB, free: 13.31 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005734/0.1455, allocations: 366.9 kB / 1.027 GB, free: 12.95 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002876/0.1458, allocations: 147.5 kB / 1.028 GB, free: 12.8 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.146, allocations: 147.7 kB / 1.028 GB, free: 12.66 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006459/0.1466, allocations: 482.5 kB / 1.028 GB, free: 12.19 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1466, allocations: 0 / 1.028 GB, free: 12.19 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1466, allocations: 0 / 1.028 GB, free: 12.19 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.1466, allocations: 0 / 1.028 GB, free: 12.19 MB / 0.9948 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.0007872/0.1474, allocations: 0.7447 MB / 1.029 GB, free: 11.41 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.1474, allocations: 8.031 kB / 1.029 GB, free: 11.4 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006141/0.1481, allocations: 176.3 kB / 1.029 GB, free: 11.23 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004351/0.1485, allocations: 367.5 kB / 1.029 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.1485, allocations: 16.62 kB / 1.029 GB, free: 10.82 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.527e-05/0.1486, allocations: 36 kB / 1.029 GB, free: 10.79 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003303/0.1489, allocations: 307.2 kB / 1.03 GB, free: 10.45 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1489, allocations: 0 / 1.03 GB, free: 10.45 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.1489, allocations: 8 kB / 1.03 GB, free: 10.45 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.458e-05/0.1489, allocations: 8.5 kB / 1.03 GB, free: 10.43 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/0.1491, allocations: 110.9 kB / 1.03 GB, free: 10.33 MB / 0.9948 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.001086/0.1502, allocations: 0.8647 MB / 1.031 GB, free: 9.418 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.1505, allocations: 131.4 kB / 1.031 GB, free: 9.277 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.131e-05/0.1505, allocations: 59.64 kB / 1.031 GB, free: 9.215 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.1505, allocations: 0 / 1.031 GB, free: 9.215 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.1506, allocations: 41.39 kB / 1.031 GB, free: 9.164 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=19): time 1.002e-06/0.1506, allocations: 0 / 1.031 GB, free: 9.164 MB / 0.9948 GB Notification: Performance of matching and sorting (n=19): time 0.0005292/0.1511, allocations: 246.9 kB / 1.031 GB, free: 8.914 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.1511, allocations: 51.41 kB / 1.031 GB, free: 8.852 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.1513, allocations: 330.3 kB / 1.032 GB, free: 8.516 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1514, allocations: 29.7 kB / 1.032 GB, free: 8.48 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.1515, allocations: 255.3 kB / 1.032 GB, free: 8.227 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.531e-05/0.1515, allocations: 75.31 kB / 1.032 GB, free: 8.152 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.359e-05/0.1516, allocations: 55.3 kB / 1.032 GB, free: 8.09 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.1517, allocations: 0.5117 MB / 1.032 GB, free: 7.566 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.297e-05/0.1518, allocations: 31.97 kB / 1.032 GB, free: 7.535 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.434e-05/0.1518, allocations: 105.7 kB / 1.033 GB, free: 7.402 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.152, allocations: 147.6 kB / 1.033 GB, free: 7.23 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.152, allocations: 0 / 1.033 GB, free: 7.23 MB / 0.9948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002038/0.1522, allocations: 189.3 kB / 1.033 GB, free: 7.039 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1522, allocations: 4 kB / 1.033 GB, free: 7.035 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1522, allocations: 4 kB / 1.033 GB, free: 7.031 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.1522, allocations: 4 kB / 1.033 GB, free: 7.027 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.1523, allocations: 39.92 kB / 1.033 GB, free: 6.988 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.1524, allocations: 8.188 kB / 1.033 GB, free: 6.98 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.1525, allocations: 27.77 kB / 1.033 GB, free: 6.953 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.1525, allocations: 8 kB / 1.033 GB, free: 6.945 MB / 0.9948 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.853e-05/0.1526, allocations: 164.6 kB / 1.033 GB, free: 6.773 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.657e-05/0.1526, allocations: 39.81 kB / 1.033 GB, free: 6.734 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.659e-05/0.1527, allocations: 30.3 kB / 1.033 GB, free: 6.703 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1527, allocations: 4 kB / 1.033 GB, free: 6.699 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.1527, allocations: 0 / 1.033 GB, free: 6.699 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.1527, allocations: 3.984 kB / 1.033 GB, free: 6.695 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002929/0.153, allocations: 288.2 kB / 1.034 GB, free: 6.379 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.153, allocations: 0 / 1.034 GB, free: 6.379 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.256e-05/0.1531, allocations: 35.98 kB / 1.034 GB, free: 6.344 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002231/0.1533, allocations: 43.66 kB / 1.034 GB, free: 6.297 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.1533, allocations: 7.984 kB / 1.034 GB, free: 6.289 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009558/0.1543, allocations: 1.783 MB / 1.035 GB, free: 4.387 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1543, allocations: 0 / 1.035 GB, free: 4.387 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003266/0.1546, allocations: 364.7 kB / 1.036 GB, free: 4.008 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-05/0.1547, allocations: 55.73 kB / 1.036 GB, free: 3.953 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.1547, allocations: 0 / 1.036 GB, free: 3.953 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.1548, allocations: 11.98 kB / 1.036 GB, free: 3.941 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.972e-05/0.1549, allocations: 11.98 kB / 1.036 GB, free: 3.93 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.1549, allocations: 11.92 kB / 1.036 GB, free: 3.918 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001878/0.1551, allocations: 223 kB / 1.036 GB, free: 3.699 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.1551, allocations: 4.031 kB / 1.036 GB, free: 3.695 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002942/0.1554, allocations: 111.8 kB / 1.036 GB, free: 3.586 MB / 0.9948 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.0001476/0.1555, allocations: 107.2 kB / 1.036 GB, free: 3.469 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001839/0.1557, allocations: 105.8 kB / 1.036 GB, free: 3.363 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1557, allocations: 384 / 1.036 GB, free: 3.363 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.000231/0.1559, allocations: 245.3 kB / 1.037 GB, free: 3.102 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006155/0.1565, allocations: 207.3 kB / 1.037 GB, free: 2.906 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.1576, allocations: 0.6236 MB / 1.037 GB, free: 2.254 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.024e-05/0.1577, allocations: 113.5 kB / 1.037 GB, free: 2.121 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001462/0.1578, allocations: 58.92 kB / 1.037 GB, free: 2.062 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.402e-05/0.1579, allocations: 28.5 kB / 1.038 GB, free: 2.035 MB / 0.9948 GB Notification: Performance of SimCode: time 7.62e-07/0.1579, allocations: 0 / 1.038 GB, free: 2.035 MB / 0.9948 GB Notification: Performance of Templates: time 0.008908/0.1668, allocations: 6.601 MB / 1.044 GB, free: 11.61 MB / 1.01 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 -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: 6.143867938313633]