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.001019/0.001019, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001076/0.001076, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.941/0.941, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.299/2.299, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 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.303e-06/1.303e-06, allocations: 0 / 0.8897 GB, free: 9.824 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.859e-05/1.989e-05, allocations: 5.547 kB / 0.8897 GB, free: 9.82 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1373/0.1373, allocations: 144.4 MB / 1.031 GB, free: 8.887 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.002736/0.14, allocations: 2.299 MB / 1.033 GB, free: 6.582 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002496/0.1403, allocations: 23.81 kB / 1.033 GB, free: 6.559 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004341/0.1407, allocations: 131.1 kB / 1.033 GB, free: 6.43 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0009603/0.1417, allocations: 0.641 MB / 1.034 GB, free: 5.785 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000403/0.1421, allocations: 323.2 kB / 1.034 GB, free: 5.469 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0007705/0.1428, allocations: 0.966 MB / 1.035 GB, free: 4.496 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002351/0.1431, allocations: 226.6 kB / 1.035 GB, free: 4.27 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008721/0.1439, allocations: 0.5685 MB / 1.036 GB, free: 3.719 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002609/0.1442, allocations: 263.2 kB / 1.036 GB, free: 3.461 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.829e-05/0.1442, allocations: 32 kB / 1.036 GB, free: 3.43 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003076/0.1446, allocations: 291.1 kB / 1.036 GB, free: 3.145 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.1447, allocations: 143.5 kB / 1.036 GB, free: 3.004 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.1448, allocations: 143.7 kB / 1.037 GB, free: 2.863 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004547/0.1452, allocations: 458.5 kB / 1.037 GB, free: 2.414 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1452, allocations: 4 kB / 1.037 GB, free: 2.41 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.153e-06/0.1452, allocations: 0 / 1.037 GB, free: 2.41 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.1452, allocations: 0 / 1.037 GB, free: 2.41 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.0006464/0.1459, allocations: 0.7288 MB / 1.038 GB, free: 1.645 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.1459, allocations: 12.62 kB / 1.038 GB, free: 1.633 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004781/0.1464, allocations: 152.4 kB / 1.038 GB, free: 1.484 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.1467, allocations: 350.9 kB / 1.038 GB, free: 1.113 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.1467, allocations: 24.62 kB / 1.038 GB, free: 1.09 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/0.1467, allocations: 24 kB / 1.038 GB, free: 1.066 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.147, allocations: 295.2 kB / 1.039 GB, free: 0.7383 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.147, allocations: 0 / 1.039 GB, free: 0.7383 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.147, allocations: 12 kB / 1.039 GB, free: 0.7266 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.147, allocations: 12.48 kB / 1.039 GB, free: 0.7148 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.1471, allocations: 81.36 kB / 1.039 GB, free: 0.6328 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.0008277/0.148, allocations: 0.8145 MB / 1.039 GB, free: 15.79 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.1481, allocations: 131.2 kB / 1.04 GB, free: 15.64 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.692e-05/0.1482, allocations: 43.67 kB / 1.04 GB, free: 15.6 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 7.914e-06/0.1482, allocations: 4 kB / 1.04 GB, free: 15.59 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.1482, allocations: 33.39 kB / 1.04 GB, free: 15.55 MB / 1.01 GB Notification: Performance of pre-optimization done (n=19): time 1.343e-06/0.1482, allocations: 0 / 1.04 GB, free: 15.55 MB / 1.01 GB Notification: Performance of matching and sorting (n=19): time 0.0004015/0.1486, allocations: 231.4 kB / 1.04 GB, free: 15.32 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.1486, allocations: 51.41 kB / 1.04 GB, free: 15.25 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.1488, allocations: 326.2 kB / 1.04 GB, free: 14.92 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.1488, allocations: 33.64 kB / 1.04 GB, free: 14.88 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.1489, allocations: 247.2 kB / 1.04 GB, free: 14.63 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.198e-05/0.149, allocations: 75.42 kB / 1.041 GB, free: 14.56 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-05/0.149, allocations: 55.28 kB / 1.041 GB, free: 14.5 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.1491, allocations: 0.5117 MB / 1.041 GB, free: 13.97 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.937e-05/0.1492, allocations: 27.92 kB / 1.041 GB, free: 13.95 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.226e-05/0.1492, allocations: 101.2 kB / 1.041 GB, free: 13.82 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.1493, allocations: 127.2 kB / 1.041 GB, free: 13.67 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1493, allocations: 4 kB / 1.041 GB, free: 13.66 MB / 1.01 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001651/0.1495, allocations: 177.2 kB / 1.042 GB, free: 13.48 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.1495, allocations: 8 kB / 1.042 GB, free: 13.48 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.1495, allocations: 3.984 kB / 1.042 GB, free: 13.47 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.1495, allocations: 4 kB / 1.042 GB, free: 13.47 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.385e-05/0.1496, allocations: 43.92 kB / 1.042 GB, free: 13.43 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.1496, allocations: 4 kB / 1.042 GB, free: 13.42 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.1497, allocations: 24.08 kB / 1.042 GB, free: 13.4 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.1498, allocations: 4 kB / 1.042 GB, free: 13.39 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 8.489e-05/0.1498, allocations: 180.4 kB / 1.042 GB, free: 13.21 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.874e-05/0.1499, allocations: 39.81 kB / 1.042 GB, free: 13.17 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.974e-05/0.1499, allocations: 34.3 kB / 1.042 GB, free: 13.13 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1499, allocations: 0 / 1.042 GB, free: 13.13 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.1499, allocations: 0 / 1.042 GB, free: 13.13 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1499, allocations: 0 / 1.042 GB, free: 13.13 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.1501, allocations: 237 kB / 1.042 GB, free: 12.88 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1502, allocations: 0 / 1.042 GB, free: 12.88 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.97e-05/0.1502, allocations: 31.98 kB / 1.042 GB, free: 12.84 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000137/0.1504, allocations: 43.59 kB / 1.042 GB, free: 12.8 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.1504, allocations: 8 kB / 1.042 GB, free: 12.79 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007516/0.1511, allocations: 1.764 MB / 1.044 GB, free: 10.91 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.1511, allocations: 4 kB / 1.044 GB, free: 10.91 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.1514, allocations: 337.7 kB / 1.044 GB, free: 10.56 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 6.269e-05/0.1514, allocations: 55.78 kB / 1.044 GB, free: 10.5 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.1515, allocations: 11.88 kB / 1.044 GB, free: 10.49 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.1516, allocations: 4 kB / 1.044 GB, free: 10.49 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.285e-05/0.1516, allocations: 23.91 kB / 1.044 GB, free: 10.46 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.136e-06/0.1516, allocations: 4 kB / 1.044 GB, free: 10.46 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001148/0.1517, allocations: 218.9 kB / 1.045 GB, free: 10.25 MB / 1.01 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1517, allocations: 4.031 kB / 1.045 GB, free: 10.24 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002299/0.1519, allocations: 103.9 kB / 1.045 GB, free: 10.14 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.0001027/0.152, allocations: 107.2 kB / 1.045 GB, free: 10.03 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.000115/0.1522, allocations: 101.2 kB / 1.045 GB, free: 9.926 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 9.82e-07/0.1522, allocations: 384 / 1.045 GB, free: 9.926 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.1523, allocations: 245.3 kB / 1.045 GB, free: 9.664 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004956/0.1528, allocations: 187.9 kB / 1.045 GB, free: 9.488 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007742/0.1536, allocations: 0.6313 MB / 1.046 GB, free: 8.828 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.079e-05/0.1536, allocations: 109.5 kB / 1.046 GB, free: 8.703 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001149/0.1537, allocations: 46.95 kB / 1.046 GB, free: 8.652 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/0.154, allocations: 202.1 kB / 1.046 GB, free: 8.453 MB / 1.01 GB Notification: Performance of SimCode: time 8.31e-07/0.154, allocations: 0 / 1.046 GB, free: 8.453 MB / 1.01 GB Notification: Performance of Templates: time 0.008074/0.1621, allocations: 7.206 MB / 1.053 GB, free: 1.441 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: 6.04756873100996]