Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.0009518/0.0009518, allocations: 73.88 kB / 20.65 MB, free: 3.848 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.0009413/0.0009413, 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.9177/0.9177, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.145/2.145, allocations: 429.5 MB / 0.6743 GB, free: 3.914 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.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0.7656 kB / 0.8794 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.771e-05/2.937e-05, allocations: 3.062 kB / 0.8794 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1327/0.1327, allocations: 147.8 MB / 1.024 GB, free: 1.703 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.009124/0.1418, allocations: 7.361 MB / 1.031 GB, free: 10.32 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008546/0.1427, allocations: 43.62 kB / 1.031 GB, free: 10.28 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008957/0.1436, allocations: 337.1 kB / 1.031 GB, free: 9.949 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002208/0.1458, allocations: 1.219 MB / 1.032 GB, free: 8.723 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001898/0.1477, allocations: 1.184 MB / 1.034 GB, free: 7.535 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002195/0.1499, allocations: 2.464 MB / 1.036 GB, free: 5.062 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001188/0.1511, allocations: 1.011 MB / 1.037 GB, free: 4.027 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00197/0.153, allocations: 1.379 MB / 1.038 GB, free: 2.664 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007099/0.1537, allocations: 0.6348 MB / 1.039 GB, free: 2.027 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001643/0.1539, allocations: 144 kB / 1.039 GB, free: 1.887 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009825/0.1549, allocations: 0.7564 MB / 1.04 GB, free: 1.129 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002701/0.1552, allocations: 446.5 kB / 1.04 GB, free: 0.6914 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004069/0.1556, allocations: 0.5338 MB / 1.041 GB, free: 160 kB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001688/0.1572, allocations: 1.705 MB / 1.042 GB, free: 14.45 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1573, allocations: 0 / 1.042 GB, free: 14.45 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1573, allocations: 0 / 1.042 GB, free: 14.45 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.738e-05/0.1573, allocations: 4 kB / 1.042 GB, free: 14.44 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.002035/0.1593, allocations: 1.964 MB / 1.044 GB, free: 12.43 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.1593, allocations: 12.03 kB / 1.044 GB, free: 12.41 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001317/0.1607, allocations: 495 kB / 1.045 GB, free: 11.93 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009893/0.1616, allocations: 0.9596 MB / 1.046 GB, free: 10.93 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.182e-05/0.1617, allocations: 86.23 kB / 1.046 GB, free: 10.85 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.1618, allocations: 124 kB / 1.046 GB, free: 10.73 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.163, allocations: 1.145 MB / 1.047 GB, free: 9.43 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.163, allocations: 4 kB / 1.047 GB, free: 9.426 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.739e-05/0.1631, allocations: 51.98 kB / 1.047 GB, free: 9.375 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.698e-05/0.1631, allocations: 46.09 kB / 1.047 GB, free: 9.328 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007688/0.1639, allocations: 0.7605 MB / 1.048 GB, free: 8.547 MB / 1.01 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.002994/0.1669, allocations: 2.841 MB / 1.051 GB, free: 5.641 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007504/0.1676, allocations: 0.5898 MB / 1.051 GB, free: 5.043 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002228/0.1678, allocations: 200.2 kB / 1.051 GB, free: 4.84 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.679e-05/0.1679, allocations: 36.97 kB / 1.052 GB, free: 4.805 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000629/0.1685, allocations: 0.6225 MB / 1.052 GB, free: 4.105 MB / 1.01 GB Notification: Performance of pre-optimization done (n=110): time 2.395e-06/0.1685, allocations: 3.938 kB / 1.052 GB, free: 4.102 MB / 1.01 GB Notification: Performance of matching and sorting (n=110): time 0.001526/0.17, allocations: 0.9054 MB / 1.053 GB, free: 3.191 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.837e-05/0.1701, allocations: 208.8 kB / 1.053 GB, free: 2.945 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000518/0.1707, allocations: 0.7255 MB / 1.054 GB, free: 2.203 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.225e-05/0.1707, allocations: 53.7 kB / 1.054 GB, free: 2.145 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003103/0.171, allocations: 0.5936 MB / 1.055 GB, free: 1.543 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002162/0.1712, allocations: 380.8 kB / 1.055 GB, free: 1.168 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002108/0.1715, allocations: 228.4 kB / 1.055 GB, free: 0.9336 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1716, allocations: 0.5276 MB / 1.056 GB, free: 408 kB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.1718, allocations: 138.5 kB / 1.056 GB, free: 272 kB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4436/0.6154, allocations: 442.9 kB / 1.056 GB, free: 65.95 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005655/0.6159, allocations: 480.9 kB / 1.057 GB, free: 65.82 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.616, allocations: 0 / 1.057 GB, free: 65.82 MB / 1.01 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001141/0.6171, allocations: 0.7684 MB / 1.057 GB, free: 65.75 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.6171, allocations: 5.906 kB / 1.057 GB, free: 65.75 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.6171, allocations: 6.531 kB / 1.057 GB, free: 65.75 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004646/0.6176, allocations: 134.4 kB / 1.058 GB, free: 65.73 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005158/0.6181, allocations: 236.3 kB / 1.058 GB, free: 65.73 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/0.6192, allocations: 1.875 MB / 1.06 GB, free: 64.02 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004994/0.6197, allocations: 102.7 kB / 1.06 GB, free: 64.02 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.81e-05/0.6197, allocations: 38.95 kB / 1.06 GB, free: 64.02 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 136 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003401/0.62, allocations: 233.4 kB / 1.06 GB, free: 63.85 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/0.6202, allocations: 156.2 kB / 1.06 GB, free: 63.85 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.6213, allocations: 0.8985 MB / 1.061 GB, free: 63.77 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.6213, allocations: 11.31 kB / 1.061 GB, free: 63.77 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.6213, allocations: 0.8438 kB / 1.061 GB, free: 63.77 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.6213, allocations: 6.562 kB / 1.061 GB, free: 63.77 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001832/0.6231, allocations: 1.732 MB / 1.063 GB, free: 63.41 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.6231, allocations: 0.5312 kB / 1.063 GB, free: 63.41 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004453/0.6236, allocations: 204.9 kB / 1.063 GB, free: 63.41 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003376/0.6239, allocations: 111.5 kB / 1.063 GB, free: 63.4 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.902e-05/0.624, allocations: 36.89 kB / 1.063 GB, free: 63.4 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000782/0.6248, allocations: 1.888 MB / 1.065 GB, free: 61.67 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.6248, allocations: 0 / 1.065 GB, free: 61.67 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.6259, allocations: 1.11 MB / 1.066 GB, free: 61.37 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002738/0.6262, allocations: 245 kB / 1.066 GB, free: 61.31 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.6263, allocations: 28.3 kB / 1.066 GB, free: 61.31 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003499/0.6266, allocations: 44.48 kB / 1.066 GB, free: 61.31 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.6267, allocations: 88.88 kB / 1.066 GB, free: 61.31 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.212e-05/0.6268, allocations: 34.31 kB / 1.066 GB, free: 61.31 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002683/0.627, allocations: 461 kB / 1.067 GB, free: 61.16 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.627, allocations: 0 / 1.067 GB, free: 61.16 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007508/0.6278, allocations: 448.9 kB / 1.067 GB, free: 61.13 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001176/0.6289, allocations: 0.6391 MB / 1.068 GB, free: 60.99 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0007284/0.6297, allocations: 0.7129 MB / 1.069 GB, free: 60.79 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.6297, allocations: 0 / 1.069 GB, free: 60.79 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003873/0.6301, allocations: 0.4974 MB / 1.069 GB, free: 60.59 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.6311, allocations: 0.5074 MB / 1.07 GB, free: 60.55 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002505/0.6336, allocations: 2.156 MB / 1.072 GB, free: 59.6 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001711/0.6338, allocations: 249.5 kB / 1.072 GB, free: 59.52 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005989/0.6344, allocations: 242.6 kB / 1.072 GB, free: 59.46 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009657/0.6354, allocations: 0.4936 MB / 1.073 GB, free: 59.4 MB / 1.01 GB Notification: Performance of SimCode: time 6.11e-07/0.6354, allocations: 0.9844 kB / 1.073 GB, free: 59.4 MB / 1.01 GB Notification: Performance of Templates: time 0.03675/0.6721, allocations: 24.07 MB / 1.096 GB, free: 57 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.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.895298519171774]