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.000916/0.000916, allocations: 80.92 kB / 20.75 MB, free: 3.734 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.001772/0.001772, allocations: 165 kB / 24.17 MB, free: 324 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.9247/0.9247, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.865/1.865, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.212e-06/1.212e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.554e-05/1.675e-05, allocations: 6.25 kB / 0.76 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1256/0.1256, allocations: 146.5 MB / 0.903 GB, free: 3.84 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002746/0.1284, allocations: 2.345 MB / 0.9053 GB, free: 1.488 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002471/0.1286, allocations: 19.88 kB / 0.9053 GB, free: 1.469 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0004158/0.1291, allocations: 135 kB / 0.9055 GB, free: 1.336 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.1301, allocations: 0.6372 MB / 0.9061 GB, free: 0.6953 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004598/0.1305, allocations: 335.1 kB / 0.9064 GB, free: 376 kB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0008912/0.1314, allocations: 0.9542 MB / 0.9073 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000254/0.1317, allocations: 222.6 kB / 0.9075 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009235/0.1326, allocations: 0.5616 MB / 0.9081 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003029/0.1329, allocations: 247.3 kB / 0.9083 GB, free: 14.4 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 4.28e-05/0.1329, allocations: 32 kB / 0.9084 GB, free: 14.37 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003508/0.1333, allocations: 275.2 kB / 0.9086 GB, free: 14.1 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.1334, allocations: 143.5 kB / 0.9088 GB, free: 13.96 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.1335, allocations: 151.6 kB / 0.9089 GB, free: 13.81 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004951/0.134, allocations: 458.5 kB / 0.9093 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.134, allocations: 0 / 0.9093 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.162e-06/0.134, allocations: 0 / 0.9093 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.134, allocations: 0 / 0.9093 GB, free: 13.36 MB / 0.8698 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.0006756/0.1347, allocations: 0.6006 MB / 0.9099 GB, free: 12.73 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.1347, allocations: 12.03 kB / 0.9099 GB, free: 12.72 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00054/0.1353, allocations: 156.5 kB / 0.9101 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003695/0.1356, allocations: 308.3 kB / 0.9104 GB, free: 12.24 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.1356, allocations: 24.61 kB / 0.9104 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.765e-05/0.1357, allocations: 31.98 kB / 0.9104 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.1359, allocations: 288.4 kB / 0.9107 GB, free: 11.87 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1359, allocations: 7.984 kB / 0.9107 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.1359, allocations: 12 kB / 0.9107 GB, free: 11.85 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.136, allocations: 8.5 kB / 0.9107 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.1361, allocations: 77.39 kB / 0.9108 GB, free: 11.77 MB / 0.8698 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.0008171/0.1369, allocations: 0.6016 MB / 0.9114 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.1371, allocations: 121.2 kB / 0.9115 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.458e-05/0.1371, allocations: 43.02 kB / 0.9116 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.607e-06/0.1371, allocations: 4 kB / 0.9116 GB, free: 10.97 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.1371, allocations: 38.56 kB / 0.9116 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 1.473e-06/0.1371, allocations: 0 / 0.9116 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.0003851/0.1375, allocations: 185.5 kB / 0.9118 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.1375, allocations: 59.36 kB / 0.9118 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.1377, allocations: 259 kB / 0.9121 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.1377, allocations: 29.7 kB / 0.9121 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.963e-05/0.1378, allocations: 169.2 kB / 0.9123 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.554e-05/0.1378, allocations: 75.31 kB / 0.9123 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.981e-05/0.1379, allocations: 53.67 kB / 0.9124 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.166e-05/0.138, allocations: 342.7 kB / 0.9127 GB, free: 9.715 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.133e-05/0.138, allocations: 22.81 kB / 0.9127 GB, free: 9.691 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.063e-05/0.138, allocations: 73.03 kB / 0.9128 GB, free: 9.602 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.1383, allocations: 117.7 kB / 0.9129 GB, free: 9.465 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.1383, allocations: 0 / 0.9129 GB, free: 9.465 MB / 0.8698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001488/0.1384, allocations: 140.3 kB / 0.9131 GB, free: 9.32 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.1384, allocations: 8 kB / 0.9131 GB, free: 9.312 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1384, allocations: 0 / 0.9131 GB, free: 9.312 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.1384, allocations: 4 kB / 0.9131 GB, free: 9.309 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.1385, allocations: 43.92 kB / 0.9131 GB, free: 9.266 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.1386, allocations: 0 / 0.9131 GB, free: 9.266 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.1387, allocations: 23.88 kB / 0.9131 GB, free: 9.242 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.1387, allocations: 4.188 kB / 0.9131 GB, free: 9.238 MB / 0.8698 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 7.823e-05/0.1388, allocations: 132.5 kB / 0.9133 GB, free: 9.098 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.853e-05/0.1388, allocations: 27.97 kB / 0.9133 GB, free: 9.07 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.073e-05/0.1388, allocations: 34.3 kB / 0.9133 GB, free: 9.035 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1388, allocations: 0 / 0.9133 GB, free: 9.035 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1388, allocations: 0 / 0.9133 GB, free: 9.035 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1388, allocations: 0 / 0.9133 GB, free: 9.035 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.1391, allocations: 201.5 kB / 0.9135 GB, free: 8.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1391, allocations: 0 / 0.9135 GB, free: 8.82 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.446e-05/0.1391, allocations: 39.86 kB / 0.9135 GB, free: 8.781 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001471/0.1393, allocations: 50.48 kB / 0.9136 GB, free: 8.727 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.1393, allocations: 4 kB / 0.9136 GB, free: 8.723 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005851/0.1399, allocations: 1.23 MB / 0.9148 GB, free: 7.395 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1399, allocations: 4.031 kB / 0.9148 GB, free: 7.391 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.1401, allocations: 275.2 kB / 0.9151 GB, free: 7.102 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.995e-05/0.1402, allocations: 35.8 kB / 0.9151 GB, free: 7.066 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.1402, allocations: 7.938 kB / 0.9151 GB, free: 7.059 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.1403, allocations: 4 kB / 0.9151 GB, free: 7.055 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.019e-05/0.1403, allocations: 15.97 kB / 0.9151 GB, free: 7.039 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.178e-06/0.1403, allocations: 4 kB / 0.9151 GB, free: 7.035 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.235e-05/0.1404, allocations: 100.6 kB / 0.9152 GB, free: 6.934 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.1e-08/0.1404, allocations: 0 / 0.9152 GB, free: 6.934 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002286/0.1406, allocations: 107.8 kB / 0.9153 GB, free: 6.828 MB / 0.8698 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.0001104/0.1407, allocations: 92.36 kB / 0.9154 GB, free: 6.73 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001154/0.1409, allocations: 89.73 kB / 0.9155 GB, free: 6.641 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/0.1409, allocations: 0 / 0.9155 GB, free: 6.641 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.141, allocations: 179.7 kB / 0.9157 GB, free: 6.449 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000458/0.1415, allocations: 199.8 kB / 0.9159 GB, free: 6.262 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.1425, allocations: 0.6126 MB / 0.9165 GB, free: 5.613 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.798e-05/0.1425, allocations: 101.5 kB / 0.9166 GB, free: 5.492 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001328/0.1427, allocations: 42.95 kB / 0.9166 GB, free: 5.453 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002436/0.1429, allocations: 169.2 kB / 0.9168 GB, free: 5.289 MB / 0.8698 GB Notification: Performance of SimCode: time 5.51e-07/0.1429, allocations: 0 / 0.9168 GB, free: 5.289 MB / 0.8698 GB Notification: Performance of Templates: time 0.0083/0.1512, allocations: 7.171 MB / 0.9238 GB, free: 14.33 MB / 0.8855 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.046473537106067]