Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001147/0.001147, allocations: 82.64 kB / 20.68 MB, free: 3.82 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.001039/0.001039, allocations: 181 kB / 24.08 MB, free: 420 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 1.023/1.023, allocations: 177.1 MB / 204.5 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.746/1.746, allocations: 359 MB / 0.6055 GB, free: 10.87 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Examples.Tutorial.SpaceCooling.System1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.7875 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.897e-05/3.069e-05, allocations: 5.453 kB / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1308/0.1308, allocations: 144.3 MB / 0.9285 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.003405/0.1343, allocations: 2.294 MB / 0.9307 GB, free: 9.098 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004234/0.1347, allocations: 19.81 kB / 0.9307 GB, free: 9.078 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0004579/0.1351, allocations: 143 kB / 0.9309 GB, free: 8.938 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.00126/0.1364, allocations: 0.6333 MB / 0.9315 GB, free: 8.301 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005696/0.137, allocations: 331.1 kB / 0.9318 GB, free: 7.977 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.000924/0.1379, allocations: 0.9505 MB / 0.9327 GB, free: 7.023 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003054/0.1382, allocations: 222.6 kB / 0.933 GB, free: 6.797 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001089/0.1393, allocations: 0.5448 MB / 0.9335 GB, free: 6.27 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004199/0.1397, allocations: 259.2 kB / 0.9337 GB, free: 6.016 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 4.839e-05/0.1398, allocations: 32 kB / 0.9338 GB, free: 5.984 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004952/0.1402, allocations: 287.2 kB / 0.934 GB, free: 5.703 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.1404, allocations: 135.6 kB / 0.9342 GB, free: 5.57 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.1405, allocations: 147.7 kB / 0.9343 GB, free: 5.426 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0006306/0.1411, allocations: 458.5 kB / 0.9347 GB, free: 4.977 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1411, allocations: 4 kB / 0.9347 GB, free: 4.973 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1411, allocations: 0 / 0.9347 GB, free: 4.973 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.1411, allocations: 0 / 0.9347 GB, free: 4.973 MB / 0.8855 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.0007535/0.1419, allocations: 0.7253 MB / 0.9355 GB, free: 4.211 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.1419, allocations: 12.03 kB / 0.9355 GB, free: 4.199 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005514/0.1425, allocations: 168.3 kB / 0.9356 GB, free: 4.035 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003843/0.1429, allocations: 343 kB / 0.936 GB, free: 3.676 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.1429, allocations: 24.62 kB / 0.936 GB, free: 3.652 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.769e-05/0.1429, allocations: 24 kB / 0.936 GB, free: 3.629 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002693/0.1432, allocations: 303.2 kB / 0.9363 GB, free: 3.297 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.1432, allocations: 0 / 0.9363 GB, free: 3.297 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.1432, allocations: 12 kB / 0.9363 GB, free: 3.285 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/0.1432, allocations: 12.5 kB / 0.9363 GB, free: 3.273 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.1433, allocations: 85.36 kB / 0.9364 GB, free: 3.188 MB / 0.8855 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.0009539/0.1443, allocations: 0.8106 MB / 0.9372 GB, free: 2.348 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.1445, allocations: 127.3 kB / 0.9373 GB, free: 2.211 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.017e-05/0.1446, allocations: 43.66 kB / 0.9373 GB, free: 2.164 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-06/0.1446, allocations: 7.984 kB / 0.9374 GB, free: 2.156 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.1446, allocations: 41.33 kB / 0.9374 GB, free: 2.105 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=19): time 2.815e-06/0.1446, allocations: 0 / 0.9374 GB, free: 2.105 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.0004558/0.1451, allocations: 220.1 kB / 0.9376 GB, free: 1.883 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.1451, allocations: 55.41 kB / 0.9377 GB, free: 1.816 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.1453, allocations: 330.1 kB / 0.938 GB, free: 1.473 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.1453, allocations: 25.7 kB / 0.938 GB, free: 1.441 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.1455, allocations: 251.2 kB / 0.9382 GB, free: 1.191 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.464e-05/0.1455, allocations: 71.38 kB / 0.9383 GB, free: 1.121 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.634e-05/0.1456, allocations: 51.34 kB / 0.9384 GB, free: 1.062 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1457, allocations: 0.5156 MB / 0.9389 GB, free: 0.5352 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.275e-05/0.1457, allocations: 23.98 kB / 0.9389 GB, free: 0.5117 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.735e-05/0.1458, allocations: 99.45 kB / 0.939 GB, free: 396 kB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.1459, allocations: 132.6 kB / 0.9391 GB, free: 236 kB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1459, allocations: 0 / 0.9391 GB, free: 236 kB / 0.8855 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001857/0.1461, allocations: 177.3 kB / 0.9393 GB, free: 52 kB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1461, allocations: 4 kB / 0.9393 GB, free: 48 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1461, allocations: 4 kB / 0.9393 GB, free: 44 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.1461, allocations: 4 kB / 0.9393 GB, free: 40 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.1462, allocations: 39.92 kB / 0.9393 GB, free: 0 / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.1462, allocations: 4.047 kB / 0.9393 GB, free: 15.99 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.1463, allocations: 15.89 kB / 0.9393 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.1463, allocations: 4 kB / 0.9393 GB, free: 15.97 MB / 0.9011 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.445e-05/0.1464, allocations: 188.5 kB / 0.9395 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.586e-05/0.1465, allocations: 35.81 kB / 0.9396 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.64e-05/0.1465, allocations: 34.3 kB / 0.9396 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1465, allocations: 4 kB / 0.9396 GB, free: 15.7 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1465, allocations: 0 / 0.9396 GB, free: 15.7 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.1465, allocations: 3.984 kB / 0.9396 GB, free: 15.7 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002668/0.1468, allocations: 237 kB / 0.9398 GB, free: 15.44 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1468, allocations: 0 / 0.9398 GB, free: 15.44 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.147, allocations: 35.92 kB / 0.9399 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001586/0.1471, allocations: 43.66 kB / 0.9399 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.1472, allocations: 8 kB / 0.9399 GB, free: 15.35 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008293/0.148, allocations: 1.756 MB / 0.9416 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.148, allocations: 0 / 0.9416 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.1483, allocations: 352.7 kB / 0.942 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 7.022e-05/0.1483, allocations: 51.78 kB / 0.942 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.1484, allocations: 3.938 kB / 0.942 GB, free: 13.06 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.1485, allocations: 13.55 kB / 0.942 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.63e-05/0.1485, allocations: 12.16 kB / 0.942 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.1485, allocations: 8 kB / 0.942 GB, free: 13.03 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001089/0.1486, allocations: 210.9 kB / 0.9422 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1486, allocations: 4 kB / 0.9422 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002697/0.1489, allocations: 115.7 kB / 0.9424 GB, free: 12.71 MB / 0.9011 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.0001439/0.149, allocations: 115.2 kB / 0.9425 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001356/0.1492, allocations: 91.52 kB / 0.9426 GB, free: 12.49 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1492, allocations: 4 kB / 0.9426 GB, free: 12.49 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.1494, allocations: 238.9 kB / 0.9428 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005501/0.1499, allocations: 197.1 kB / 0.943 GB, free: 12.05 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.151, allocations: 0.6334 MB / 0.9436 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.421e-05/0.1511, allocations: 109.5 kB / 0.9437 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001661/0.1513, allocations: 50.94 kB / 0.9437 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002523/0.1515, allocations: 210 kB / 0.9439 GB, free: 11 MB / 0.9011 GB Notification: Performance of SimCode: time 1.082e-06/0.1515, allocations: 4 kB / 0.944 GB, free: 10.99 MB / 0.9011 GB Notification: Performance of Templates: time 0.009581/0.1611, allocations: 7.146 MB / 0.9509 GB, free: 4.047 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.3473693509586155]