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.001042/0.001042, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.0009579/0.0009579, allocations: 169 kB / 24.06 MB, free: 456 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.9969/0.9969, allocations: 177.1 MB / 204.5 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.179/2.179, allocations: 429.5 MB / 0.6743 GB, free: 3.902 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.974e-06/1.974e-06, allocations: 0 / 0.8793 GB, free: 6.059 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.955e-05/3.152e-05, allocations: 5.125 kB / 0.8793 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1366/0.1366, allocations: 144.4 MB / 1.02 GB, free: 5.145 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.00314/0.1397, allocations: 2.305 MB / 1.023 GB, free: 2.836 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003456/0.1401, allocations: 15.88 kB / 1.023 GB, free: 2.82 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0005063/0.1406, allocations: 135.1 kB / 1.023 GB, free: 2.688 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001179/0.1418, allocations: 0.6371 MB / 1.023 GB, free: 2.047 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005593/0.1423, allocations: 331.1 kB / 1.024 GB, free: 1.723 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0009317/0.1432, allocations: 0.9621 MB / 1.025 GB, free: 0.7539 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002951/0.1435, allocations: 219.3 kB / 1.025 GB, free: 0.5391 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.1447, allocations: 0.5745 MB / 1.025 GB, free: 15.98 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003199/0.145, allocations: 259.2 kB / 1.026 GB, free: 15.73 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.797e-05/0.145, allocations: 36 kB / 1.026 GB, free: 15.69 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004398/0.1455, allocations: 283.1 kB / 1.026 GB, free: 15.41 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.1456, allocations: 143.5 kB / 1.026 GB, free: 15.27 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002069/0.1458, allocations: 151.5 kB / 1.026 GB, free: 15.13 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.000635/0.1464, allocations: 462.4 kB / 1.027 GB, free: 14.68 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.1464, allocations: 0 / 1.027 GB, free: 14.68 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1464, allocations: 0 / 1.027 GB, free: 14.68 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.1464, allocations: 3.938 kB / 1.027 GB, free: 14.67 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.000838/0.1473, allocations: 0.7253 MB / 1.027 GB, free: 13.91 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.1473, allocations: 11.97 kB / 1.027 GB, free: 13.9 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005827/0.1479, allocations: 156.4 kB / 1.028 GB, free: 13.75 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003942/0.1483, allocations: 347 kB / 1.028 GB, free: 13.38 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.1483, allocations: 24.62 kB / 1.028 GB, free: 13.36 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.789e-05/0.1483, allocations: 24 kB / 1.028 GB, free: 13.33 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002869/0.1486, allocations: 299.1 kB / 1.028 GB, free: 13 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.1486, allocations: 0 / 1.028 GB, free: 13 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.1487, allocations: 16 kB / 1.028 GB, free: 12.99 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.205e-05/0.1487, allocations: 8.5 kB / 1.028 GB, free: 12.98 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.1488, allocations: 81.41 kB / 1.028 GB, free: 12.9 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.0009489/0.1498, allocations: 0.8184 MB / 1.029 GB, free: 12.04 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.15, allocations: 135.2 kB / 1.029 GB, free: 11.9 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.034e-05/0.15, allocations: 43.67 kB / 1.029 GB, free: 11.85 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.15, allocations: 4 kB / 1.029 GB, free: 11.85 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.15, allocations: 33.39 kB / 1.029 GB, free: 11.8 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=19): time 1.483e-06/0.15, allocations: 0 / 1.029 GB, free: 11.8 MB / 0.9948 GB Notification: Performance of matching and sorting (n=19): time 0.0004729/0.1505, allocations: 235 kB / 1.03 GB, free: 11.57 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.263e-05/0.1505, allocations: 51.41 kB / 1.03 GB, free: 11.5 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.1507, allocations: 326.2 kB / 1.03 GB, free: 11.17 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.1508, allocations: 29.7 kB / 1.03 GB, free: 11.14 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.1509, allocations: 239.3 kB / 1.03 GB, free: 10.9 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.918e-05/0.1509, allocations: 79.39 kB / 1.03 GB, free: 10.82 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.406e-05/0.151, allocations: 47.31 kB / 1.03 GB, free: 10.77 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1511, allocations: 0.5234 MB / 1.031 GB, free: 10.23 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.847e-05/0.1512, allocations: 19.98 kB / 1.031 GB, free: 10.21 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.006e-05/0.1512, allocations: 105.6 kB / 1.031 GB, free: 10.08 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.1514, allocations: 123.3 kB / 1.031 GB, free: 9.93 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1514, allocations: 4 kB / 1.031 GB, free: 9.926 MB / 0.9948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001867/0.1516, allocations: 185.2 kB / 1.031 GB, free: 9.738 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.1516, allocations: 4 kB / 1.031 GB, free: 9.734 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.1516, allocations: 0 / 1.031 GB, free: 9.734 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.464e-06/0.1516, allocations: 4 kB / 1.031 GB, free: 9.73 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.1517, allocations: 39.98 kB / 1.031 GB, free: 9.691 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.1517, allocations: 7.938 kB / 1.031 GB, free: 9.684 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.1518, allocations: 15.89 kB / 1.031 GB, free: 9.668 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.1518, allocations: 4 kB / 1.031 GB, free: 9.664 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 0.0001049/0.1519, allocations: 180.6 kB / 1.031 GB, free: 9.477 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.722e-05/0.152, allocations: 39.81 kB / 1.031 GB, free: 9.438 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.814e-05/0.152, allocations: 34.3 kB / 1.032 GB, free: 9.402 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.152, allocations: 0 / 1.032 GB, free: 9.402 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.152, allocations: 0 / 1.032 GB, free: 9.402 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.152, allocations: 3.984 kB / 1.032 GB, free: 9.398 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.1523, allocations: 240.9 kB / 1.032 GB, free: 9.137 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1523, allocations: 0 / 1.032 GB, free: 9.137 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.133e-05/0.1524, allocations: 27.98 kB / 1.032 GB, free: 9.109 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001408/0.1526, allocations: 47.64 kB / 1.032 GB, free: 9.059 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.1526, allocations: 8 kB / 1.032 GB, free: 9.051 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008274/0.1534, allocations: 1.752 MB / 1.034 GB, free: 7.188 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-06/0.1534, allocations: 3.984 kB / 1.034 GB, free: 7.184 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.1537, allocations: 348.9 kB / 1.034 GB, free: 6.82 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.053e-05/0.1538, allocations: 51.78 kB / 1.034 GB, free: 6.77 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.417e-05/0.1538, allocations: 7.938 kB / 1.034 GB, free: 6.762 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.1539, allocations: 4 kB / 1.034 GB, free: 6.758 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-05/0.1539, allocations: 19.97 kB / 1.034 GB, free: 6.738 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.1539, allocations: 4 kB / 1.034 GB, free: 6.734 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001047/0.154, allocations: 218.9 kB / 1.034 GB, free: 6.52 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.154, allocations: 0 / 1.034 GB, free: 6.52 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002773/0.1543, allocations: 103.9 kB / 1.034 GB, free: 6.418 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.0001424/0.1545, allocations: 123.1 kB / 1.034 GB, free: 6.285 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001456/0.1546, allocations: 97.92 kB / 1.034 GB, free: 6.188 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1546, allocations: 0 / 1.034 GB, free: 6.188 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002242/0.1548, allocations: 233.8 kB / 1.035 GB, free: 5.938 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006013/0.1554, allocations: 203.1 kB / 1.035 GB, free: 5.746 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009555/0.1564, allocations: 0.6351 MB / 1.036 GB, free: 5.082 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.761e-05/0.1565, allocations: 101.5 kB / 1.036 GB, free: 4.961 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001295/0.1566, allocations: 50.94 kB / 1.036 GB, free: 4.91 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000252/0.1568, allocations: 202.1 kB / 1.036 GB, free: 4.711 MB / 0.9948 GB Notification: Performance of SimCode: time 7.01e-07/0.1568, allocations: 0 / 1.036 GB, free: 4.711 MB / 0.9948 GB Notification: Performance of Templates: time 0.009443/0.1663, allocations: 7.31 MB / 1.043 GB, free: 13.59 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.274035562761128]