Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 196.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 222.9 MB / 240.2 MB, free: 4.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.745/2.745, allocations: 472.6 MB / 0.7451 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 67.61 kB / 0.912 GB, free: 33.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3246, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.178/0.5027, allocations: 157.3 MB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02864/0.5313, allocations: 22 MB / 1.243 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002489/0.5339, allocations: 55.69 kB / 1.243 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002674/0.5366, allocations: 2.155 MB / 1.245 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002476/0.5391, allocations: 1.421 MB / 1.247 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001752/0.5409, allocations: 0.5832 MB / 1.247 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002364/0.5433, allocations: 1.82 MB / 1.249 GB, free: 436 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6736/1.217, allocations: 1.078 MB / 1.25 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001994/1.219, allocations: 0.8741 MB / 1.251 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002416/1.221, allocations: 1.537 MB / 1.253 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003086/1.222, allocations: 91.02 kB / 1.253 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004809/1.222, allocations: 138.8 kB / 1.253 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005104/1.223, allocations: 0.5315 MB / 1.253 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008619/1.224, allocations: 0.765 MB / 1.254 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002173/1.226, allocations: 1.82 MB / 1.256 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/1.226, allocations: 0.9375 kB / 1.256 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.465e-06/1.226, allocations: 0.875 kB / 1.256 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.542e-05/1.226, allocations: 0 / 1.256 GB, free: 8.004 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.003907/1.23, allocations: 2.277 MB / 1.258 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/1.23, allocations: 17.84 kB / 1.258 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003177/1.23, allocations: 233 kB / 1.258 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/1.232, allocations: 0.9991 MB / 1.259 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001563/1.232, allocations: 90.84 kB / 1.259 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/1.232, allocations: 65.53 kB / 1.259 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/1.233, allocations: 0.7271 MB / 1.26 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/1.233, allocations: 0 / 1.26 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.393e-05/1.233, allocations: 26.94 kB / 1.26 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/1.233, allocations: 15.75 kB / 1.26 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/1.234, allocations: 0.5959 MB / 1.261 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004982/1.239, allocations: 3.527 MB / 1.264 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/1.241, allocations: 0.7119 MB / 1.265 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007721/1.242, allocations: 408.4 kB / 1.265 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.642e-05/1.242, allocations: 12.92 kB / 1.265 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001115/1.243, allocations: 433.4 kB / 1.266 GB, free: 20.35 MB / 1.014 GB Notification: Performance of pre-optimization done (n=70): time 3.356e-06/1.243, allocations: 1.344 kB / 1.266 GB, free: 20.35 MB / 1.014 GB Notification: Performance of matching and sorting (n=70): time 0.004578/1.247, allocations: 1.797 MB / 1.267 GB, free: 19.98 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/1.248, allocations: 63.36 kB / 1.268 GB, free: 19.91 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004824/1.252, allocations: 3.309 MB / 1.271 GB, free: 19.69 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000151/1.253, allocations: 46.75 kB / 1.271 GB, free: 19.66 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000906/1.253, allocations: 0.8801 MB / 1.272 GB, free: 19.5 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002827/1.254, allocations: 228 kB / 1.272 GB, free: 19.36 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002878/1.254, allocations: 127.4 kB / 1.272 GB, free: 19.35 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001684/1.254, allocations: 337.5 kB / 1.272 GB, free: 19.04 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009016/1.255, allocations: 303.3 kB / 1.273 GB, free: 19.04 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008081/1.256, allocations: 438.2 kB / 1.273 GB, free: 18.93 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/1.257, allocations: 0.7179 MB / 1.274 GB, free: 18.81 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/1.257, allocations: 1.469 kB / 1.274 GB, free: 18.81 MB / 1.014 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002573/1.26, allocations: 1.212 MB / 1.275 GB, free: 18.63 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/1.26, allocations: 7 kB / 1.275 GB, free: 18.63 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/1.26, allocations: 4.688 kB / 1.275 GB, free: 18.63 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007616/1.261, allocations: 265.5 kB / 1.275 GB, free: 18.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000495/1.261, allocations: 136.6 kB / 1.275 GB, free: 18.61 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005075/1.266, allocations: 4.767 MB / 1.28 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008215/1.267, allocations: 95.75 kB / 1.28 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.732e-05/1.267, allocations: 24.48 kB / 1.28 GB, free: 15.68 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001298/1.268, allocations: 0.6067 MB / 1.281 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002708/1.269, allocations: 210.9 kB / 1.281 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004282/1.269, allocations: 251.2 kB / 1.281 GB, free: 15.41 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/1.269, allocations: 10.72 kB / 1.281 GB, free: 15.41 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.461e-05/1.269, allocations: 3.625 kB / 1.281 GB, free: 15.41 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/1.269, allocations: 3.891 kB / 1.281 GB, free: 15.41 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00408/1.273, allocations: 2.334 MB / 1.283 GB, free: 15.03 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/1.273, allocations: 0 / 1.283 GB, free: 15.03 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003328/1.274, allocations: 69.41 kB / 1.283 GB, free: 15.03 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006517/1.274, allocations: 254.6 kB / 1.284 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.763e-05/1.274, allocations: 19.7 kB / 1.284 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004856/1.279, allocations: 4.757 MB / 1.288 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.279, allocations: 1.125 kB / 1.288 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002843/1.282, allocations: 1.57 MB / 1.29 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004911/1.283, allocations: 316 kB / 1.29 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/1.283, allocations: 15.69 kB / 1.29 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004406/1.283, allocations: 41.48 kB / 1.29 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001953/1.284, allocations: 76.03 kB / 1.29 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.766e-05/1.284, allocations: 27.69 kB / 1.29 GB, free: 11.61 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003223/1.287, allocations: 2.424 MB / 1.293 GB, free: 11.46 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.61e-07/1.287, allocations: 1 kB / 1.293 GB, free: 11.46 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001166/1.288, allocations: 289.7 kB / 1.293 GB, free: 11.44 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001213/1.289, allocations: 491.4 kB / 1.293 GB, free: 11.27 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002556/1.292, allocations: 1.155 MB / 1.295 GB, free: 11.02 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/1.292, allocations: 5 kB / 1.295 GB, free: 11.01 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001116/1.293, allocations: 0.6903 MB / 1.295 GB, free: 10.76 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/1.295, allocations: 276.9 kB / 1.296 GB, free: 10.73 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007531/1.302, allocations: 4.048 MB / 1.299 GB, free: 9.555 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001392/1.304, allocations: 1.524 MB / 1.301 GB, free: 8.836 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006889/1.304, allocations: 154.3 kB / 1.301 GB, free: 8.809 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/1.304, allocations: 68.09 kB / 1.301 GB, free: 8.801 MB / 1.014 GB Notification: Performance of SimCode: time 1.002e-06/1.304, allocations: 4.156 kB / 1.301 GB, free: 8.801 MB / 1.014 GB Notification: Performance of Templates: time 0.02731/1.332, allocations: 14.4 MB / 1.315 GB, free: 7.824 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile (rm -f Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)