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.0009532/0.0009532, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.001705/0.001705, allocations: 169 kB / 23.02 MB, free: 1.539 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 1.001/1.001, allocations: 177.1 MB / 203.4 MB, free: 5.609 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.024/2.024, allocations: 429.5 MB / 0.6733 GB, free: 4.031 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.562e-06/1.562e-06, allocations: 0 / 0.8782 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.415e-05, allocations: 6.375 kB / 0.8782 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1299/0.1299, allocations: 150.7 MB / 1.025 GB, free: 15.13 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01052/0.1404, allocations: 7.421 MB / 1.033 GB, free: 7.691 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/0.1416, allocations: 39.69 kB / 1.033 GB, free: 7.652 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008412/0.1424, allocations: 349 kB / 1.033 GB, free: 7.309 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002466/0.1449, allocations: 1.215 MB / 1.034 GB, free: 6.086 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002238/0.1471, allocations: 1.184 MB / 1.035 GB, free: 4.898 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002334/0.1495, allocations: 2.456 MB / 1.038 GB, free: 2.434 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001279/0.1508, allocations: 1.019 MB / 1.039 GB, free: 1.395 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002303/0.1531, allocations: 1.376 MB / 1.04 GB, free: 36 kB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009932/0.1541, allocations: 0.6271 MB / 1.041 GB, free: 15.4 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002477/0.1543, allocations: 144 kB / 1.041 GB, free: 15.26 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001467/0.1558, allocations: 0.7603 MB / 1.042 GB, free: 14.5 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0005643/0.1563, allocations: 446.5 kB / 1.042 GB, free: 14.06 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0006286/0.157, allocations: 0.5376 MB / 1.042 GB, free: 13.52 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002541/0.1595, allocations: 1.709 MB / 1.044 GB, free: 11.81 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1595, allocations: 4 kB / 1.044 GB, free: 11.8 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1595, allocations: 0 / 1.044 GB, free: 11.8 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.744e-05/0.1596, allocations: 0 / 1.044 GB, free: 11.8 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.002744/0.1623, allocations: 1.952 MB / 1.046 GB, free: 9.801 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.1623, allocations: 8.031 kB / 1.046 GB, free: 9.793 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001837/0.1642, allocations: 495 kB / 1.047 GB, free: 9.309 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.1655, allocations: 0.9635 MB / 1.047 GB, free: 8.309 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.559e-05/0.1656, allocations: 90.23 kB / 1.048 GB, free: 8.219 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/0.1657, allocations: 124 kB / 1.048 GB, free: 8.098 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.1673, allocations: 1.223 MB / 1.049 GB, free: 6.723 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.745e-05/0.1673, allocations: 0 / 1.049 GB, free: 6.723 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.005e-05/0.1674, allocations: 48 kB / 1.049 GB, free: 6.676 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.964e-05/0.1675, allocations: 42.16 kB / 1.049 GB, free: 6.633 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.1688, allocations: 0.8905 MB / 1.05 GB, free: 5.73 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.004118/0.173, allocations: 3 MB / 1.053 GB, free: 2.656 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/0.1741, allocations: 0.6385 MB / 1.053 GB, free: 2.012 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00038/0.1745, allocations: 239 kB / 1.054 GB, free: 1.77 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 6.761e-05/0.1745, allocations: 40.91 kB / 1.054 GB, free: 1.73 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00073/0.1753, allocations: 0.6539 MB / 1.054 GB, free: 1.004 MB / 1.01 GB Notification: Performance of pre-optimization done (n=110): time 2.836e-06/0.1753, allocations: 0 / 1.054 GB, free: 1.004 MB / 1.01 GB Notification: Performance of matching and sorting (n=110): time 0.4716/0.6469, allocations: 1.01 MB / 1.055 GB, free: 73.18 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.81e-05/0.647, allocations: 201 kB / 1.055 GB, free: 72.96 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007768/0.6478, allocations: 0.7497 MB / 1.056 GB, free: 72.77 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0002094/0.648, allocations: 51.39 kB / 1.056 GB, free: 72.74 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003045/0.6483, allocations: 0.5881 MB / 1.057 GB, free: 72.61 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002452/0.6485, allocations: 381.7 kB / 1.057 GB, free: 72.45 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002064/0.6487, allocations: 223.2 kB / 1.057 GB, free: 72.42 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.174e-05/0.6488, allocations: 0.523 MB / 1.058 GB, free: 71.94 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002914/0.6491, allocations: 178.1 kB / 1.058 GB, free: 71.94 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000386/0.6495, allocations: 482.2 kB / 1.059 GB, free: 71.64 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006111/0.6501, allocations: 0.5403 MB / 1.059 GB, free: 71.5 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.6501, allocations: 0 / 1.059 GB, free: 71.5 MB / 1.01 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001212/0.6513, allocations: 0.855 MB / 1.06 GB, free: 71.37 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.6514, allocations: 7.125 kB / 1.06 GB, free: 71.37 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.6514, allocations: 3.703 kB / 1.06 GB, free: 71.37 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004649/0.6518, allocations: 136 kB / 1.06 GB, free: 71.36 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005053/0.6523, allocations: 241.1 kB / 1.06 GB, free: 71.36 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/0.6535, allocations: 1.905 MB / 1.062 GB, free: 69.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004587/0.6539, allocations: 94.03 kB / 1.062 GB, free: 69.58 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.318e-05/0.654, allocations: 48.59 kB / 1.062 GB, free: 69.58 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.conTim.canRepeatWeatherFile,weaDat.conTimMin.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.0002455/0.6542, allocations: 234.7 kB / 1.062 GB, free: 69.41 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.6544, allocations: 153 kB / 1.063 GB, free: 69.35 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.6556, allocations: 0.9693 MB / 1.064 GB, free: 69.27 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.6556, allocations: 15.19 kB / 1.064 GB, free: 69.27 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.6556, allocations: 3.125 kB / 1.064 GB, free: 69.27 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.6556, allocations: 6.562 kB / 1.064 GB, free: 69.27 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/0.6577, allocations: 1.942 MB / 1.065 GB, free: 68.86 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.6577, allocations: 3.938 kB / 1.065 GB, free: 68.85 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004548/0.6581, allocations: 209.1 kB / 1.066 GB, free: 68.85 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003397/0.6585, allocations: 119 kB / 1.066 GB, free: 68.84 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-05/0.6585, allocations: 30.89 kB / 1.066 GB, free: 68.84 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008297/0.6594, allocations: 1.925 MB / 1.068 GB, free: 67.09 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.6594, allocations: 0 / 1.068 GB, free: 67.09 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.6607, allocations: 1.214 MB / 1.069 GB, free: 66.79 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002611/0.6609, allocations: 248.4 kB / 1.069 GB, free: 66.73 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.246e-05/0.661, allocations: 31.67 kB / 1.069 GB, free: 66.72 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003291/0.6614, allocations: 54.59 kB / 1.069 GB, free: 66.72 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.6615, allocations: 81.14 kB / 1.069 GB, free: 66.72 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-05/0.6615, allocations: 43.06 kB / 1.069 GB, free: 66.72 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003415/0.6619, allocations: 490.3 kB / 1.07 GB, free: 66.59 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.6619, allocations: 1.594 kB / 1.07 GB, free: 66.59 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007532/0.6626, allocations: 449.5 kB / 1.07 GB, free: 66.55 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.001224/0.6638, allocations: 0.6416 MB / 1.071 GB, free: 66.42 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0009361/0.6648, allocations: 0.785 MB / 1.072 GB, free: 66.21 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.175e-06/0.6648, allocations: 0 / 1.072 GB, free: 66.21 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004567/0.6652, allocations: 0.5359 MB / 1.072 GB, free: 66.02 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.6663, allocations: 0.4961 MB / 1.073 GB, free: 65.97 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/0.669, allocations: 2.189 MB / 1.075 GB, free: 65.03 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.6692, allocations: 251.7 kB / 1.075 GB, free: 64.95 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005735/0.6697, allocations: 314.1 kB / 1.075 GB, free: 64.89 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002162/0.67, allocations: 130.2 kB / 1.075 GB, free: 64.88 MB / 1.01 GB Notification: Performance of SimCode: time 6.71e-07/0.67, allocations: 1.734 kB / 1.075 GB, free: 64.88 MB / 1.01 GB Notification: Performance of Templates: time 0.03111/0.7011, allocations: 23.2 MB / 1.098 GB, free: 62.47 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.671589320059866]