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.0009816/0.0009816, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001428/0.001428, allocations: 161 kB / 23.82 MB, free: 0.75 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.9723/0.9723, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.817/1.817, allocations: 359 MB / 0.6052 GB, free: 11.01 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.573e-06/1.573e-06, allocations: 0 / 0.787 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.04e-05/2.197e-05, allocations: 4.984 kB / 0.787 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1304/0.1304, allocations: 147.1 MB / 0.9307 GB, free: 8.984 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.002766/0.1331, allocations: 2.312 MB / 0.933 GB, free: 6.668 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002358/0.1334, allocations: 19.88 kB / 0.933 GB, free: 6.648 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0005147/0.1339, allocations: 135 kB / 0.9331 GB, free: 6.516 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001023/0.1349, allocations: 0.641 MB / 0.9337 GB, free: 5.871 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004183/0.1353, allocations: 327.2 kB / 0.934 GB, free: 5.551 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0008811/0.1362, allocations: 0.9582 MB / 0.935 GB, free: 4.59 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002513/0.1365, allocations: 222.7 kB / 0.9352 GB, free: 4.363 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00048/0.137, allocations: 458.6 kB / 0.9356 GB, free: 3.914 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005618/0.1375, allocations: 287.8 kB / 0.9359 GB, free: 3.648 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 4.367e-05/0.1376, allocations: 36 kB / 0.9359 GB, free: 3.613 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004105/0.138, allocations: 359 kB / 0.9363 GB, free: 3.262 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.1381, allocations: 143.5 kB / 0.9364 GB, free: 3.121 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.1382, allocations: 151.6 kB / 0.9366 GB, free: 2.973 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0005567/0.1388, allocations: 482.4 kB / 0.937 GB, free: 2.5 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1388, allocations: 0 / 0.937 GB, free: 2.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1388, allocations: 0 / 0.937 GB, free: 2.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.1388, allocations: 4 kB / 0.937 GB, free: 2.496 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.0007831/0.1396, allocations: 0.7331 MB / 0.9377 GB, free: 1.727 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.1396, allocations: 12.03 kB / 0.9377 GB, free: 1.715 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006177/0.1402, allocations: 172.4 kB / 0.9379 GB, free: 1.547 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004048/0.1406, allocations: 363.4 kB / 0.9383 GB, free: 1.168 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.1406, allocations: 24.62 kB / 0.9383 GB, free: 1.145 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.461e-05/0.1407, allocations: 35.94 kB / 0.9383 GB, free: 1.109 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000306/0.141, allocations: 307.2 kB / 0.9386 GB, free: 0.7734 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.141, allocations: 3.938 kB / 0.9386 GB, free: 0.7695 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.141, allocations: 12 kB / 0.9386 GB, free: 0.7578 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.15e-05/0.141, allocations: 8.5 kB / 0.9386 GB, free: 0.75 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.1412, allocations: 110.8 kB / 0.9387 GB, free: 0.6406 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.001008/0.1422, allocations: 0.8531 MB / 0.9396 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002426/0.1425, allocations: 135.3 kB / 0.9397 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.143e-05/0.1425, allocations: 51.67 kB / 0.9397 GB, free: 15.55 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.1426, allocations: 3.984 kB / 0.9398 GB, free: 15.55 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.1426, allocations: 45.72 kB / 0.9398 GB, free: 15.49 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=19): time 1.953e-06/0.1426, allocations: 0 / 0.9398 GB, free: 15.49 MB / 0.9011 GB Notification: Performance of matching and sorting (n=19): time 0.000522/0.1431, allocations: 243.2 kB / 0.94 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/0.1431, allocations: 51.41 kB / 0.9401 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.1434, allocations: 334.3 kB / 0.9404 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.1434, allocations: 29.7 kB / 0.9404 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.1435, allocations: 251.3 kB / 0.9407 GB, free: 14.55 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.697e-05/0.1435, allocations: 79.31 kB / 0.9407 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.218e-05/0.1436, allocations: 47.36 kB / 0.9408 GB, free: 14.42 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1437, allocations: 0.5157 MB / 0.9413 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.105e-05/0.1438, allocations: 27.98 kB / 0.9413 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.19e-05/0.1438, allocations: 103.5 kB / 0.9414 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.144, allocations: 146.2 kB / 0.9416 GB, free: 13.56 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.144, allocations: 0 / 0.9416 GB, free: 13.56 MB / 0.9011 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002143/0.1442, allocations: 187.7 kB / 0.9417 GB, free: 13.38 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.1442, allocations: 8 kB / 0.9417 GB, free: 13.37 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1442, allocations: 0 / 0.9417 GB, free: 13.37 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.1442, allocations: 4 kB / 0.9417 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.1444, allocations: 47.92 kB / 0.9418 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.1444, allocations: 8.156 kB / 0.9418 GB, free: 13.31 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.1445, allocations: 31.72 kB / 0.9418 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.1445, allocations: 8 kB / 0.9418 GB, free: 13.27 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 0.0001032/0.1446, allocations: 168.5 kB / 0.942 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.464e-05/0.1447, allocations: 31.86 kB / 0.942 GB, free: 13.06 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.784e-05/0.1447, allocations: 38.3 kB / 0.9421 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1447, allocations: 0 / 0.9421 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.1447, allocations: 0 / 0.9421 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1447, allocations: 0 / 0.9421 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002894/0.145, allocations: 284.3 kB / 0.9423 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.145, allocations: 3.984 kB / 0.9423 GB, free: 12.7 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.358e-05/0.1451, allocations: 35.98 kB / 0.9424 GB, free: 12.67 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001988/0.1453, allocations: 43.59 kB / 0.9424 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.1453, allocations: 8 kB / 0.9424 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000878/0.1462, allocations: 1.787 MB / 0.9442 GB, free: 10.71 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1462, allocations: 3.938 kB / 0.9442 GB, free: 10.7 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000313/0.1465, allocations: 357.1 kB / 0.9445 GB, free: 10.33 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 7.59e-05/0.1466, allocations: 55.72 kB / 0.9446 GB, free: 10.28 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.1466, allocations: 4 kB / 0.9446 GB, free: 10.27 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.1467, allocations: 8 kB / 0.9446 GB, free: 10.27 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.652e-05/0.1468, allocations: 11.97 kB / 0.9446 GB, free: 10.25 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.1468, allocations: 11.94 kB / 0.9446 GB, free: 10.24 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001282/0.1469, allocations: 227 kB / 0.9448 GB, free: 10.02 MB / 0.9011 GB Notification: Performance of sort global known variables: time 9e-08/0.1469, allocations: 4.031 kB / 0.9448 GB, free: 10.02 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000261/0.1472, allocations: 107.8 kB / 0.9449 GB, free: 9.91 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.0001363/0.1473, allocations: 99.25 kB / 0.945 GB, free: 9.805 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001757/0.1475, allocations: 113.4 kB / 0.9451 GB, free: 9.691 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1475, allocations: 4.375 kB / 0.9451 GB, free: 9.688 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002587/0.1477, allocations: 241.4 kB / 0.9454 GB, free: 9.43 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005611/0.1483, allocations: 193.8 kB / 0.9455 GB, free: 9.246 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009632/0.1493, allocations: 0.639 MB / 0.9462 GB, free: 8.574 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.481e-05/0.1493, allocations: 113.5 kB / 0.9463 GB, free: 8.441 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001315/0.1495, allocations: 62.91 kB / 0.9463 GB, free: 8.379 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.175e-05/0.1495, allocations: 28.44 kB / 0.9464 GB, free: 8.352 MB / 0.9011 GB Notification: Performance of SimCode: time 7.81e-07/0.1495, allocations: 4 kB / 0.9464 GB, free: 8.348 MB / 0.9011 GB Notification: Performance of Templates: time 0.00806/0.1576, allocations: 6.555 MB / 0.9528 GB, free: 1.984 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.354727359022945]