Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 108 kB / 15.61 MB, free: 144 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.00172/0.00172, allocations: 194 kB / 16.53 MB, free: 6.66 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.28/1.28, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.537/2.537, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 72.06 kB / 0.8992 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2381, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.1506/0.3887, allocations: 157.3 MB / 1.206 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02309/0.4119, allocations: 21.99 MB / 1.228 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001386/0.4133, allocations: 55.69 kB / 1.228 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002328/0.4157, allocations: 2.159 MB / 1.23 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001929/0.4176, allocations: 1.417 MB / 1.232 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.419, allocations: 0.5827 MB / 1.232 GB, free: 140 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001808/0.4208, allocations: 1.832 MB / 1.234 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001068/0.4219, allocations: 1.092 MB / 1.235 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000789/0.4226, allocations: 0.8724 MB / 1.236 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001403/0.4241, allocations: 1.53 MB / 1.237 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001581/0.4242, allocations: 92 kB / 1.237 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002687/0.4245, allocations: 140 kB / 1.238 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004041/0.4249, allocations: 0.5274 MB / 1.238 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000571/0.4255, allocations: 0.7602 MB / 1.239 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.4269, allocations: 1.825 MB / 1.241 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.4269, allocations: 0 / 1.241 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4269, allocations: 0 / 1.241 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.625e-05/0.427, allocations: 0 / 1.241 GB, free: 7.426 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.002934/0.4299, allocations: 2.285 MB / 1.243 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.4299, allocations: 12.62 kB / 1.243 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001261/0.4301, allocations: 106.7 kB / 1.243 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002449/0.4303, allocations: 230 kB / 1.243 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.4315, allocations: 1.011 MB / 1.244 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.4316, allocations: 83 kB / 1.244 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.651e-05/0.4317, allocations: 67.94 kB / 1.244 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.4329, allocations: 0.7329 MB / 1.245 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.433, allocations: 0 / 1.245 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.934e-05/0.433, allocations: 24 kB / 1.245 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.4331, allocations: 19.98 kB / 1.245 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.4342, allocations: 0.5906 MB / 1.246 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4082/0.8424, allocations: 3.524 MB / 1.249 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.8438, allocations: 0.7047 MB / 1.25 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006762/0.8445, allocations: 417.7 kB / 1.25 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.488e-05/0.8446, allocations: 12.25 kB / 1.25 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006971/0.8453, allocations: 432.2 kB / 1.251 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=70): time 2.815e-06/0.8453, allocations: 0 / 1.251 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70): time 0.003667/0.849, allocations: 1.794 MB / 1.252 GB, free: 195 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.849, allocations: 61.11 kB / 1.252 GB, free: 195 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00256/0.8516, allocations: 3.313 MB / 1.256 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.835e-05/0.8516, allocations: 46.56 kB / 1.256 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005312/0.8522, allocations: 0.8822 MB / 1.256 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.8523, allocations: 225.1 kB / 1.257 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/0.8525, allocations: 129.5 kB / 1.257 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.258e-05/0.8525, allocations: 335 kB / 1.257 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005711/0.8531, allocations: 309.7 kB / 1.257 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006084/0.8537, allocations: 435.5 kB / 1.258 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.8548, allocations: 0.7221 MB / 1.259 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.8548, allocations: 0 / 1.259 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001916/0.8567, allocations: 1.216 MB / 1.26 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.8568, allocations: 8.031 kB / 1.26 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.8568, allocations: 2.875 kB / 1.26 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006209/0.8574, allocations: 265.8 kB / 1.26 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004892/0.8579, allocations: 129.4 kB / 1.26 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004123/0.862, allocations: 4.764 MB / 1.265 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005396/0.8626, allocations: 92.48 kB / 1.265 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.389e-05/0.8626, allocations: 28.64 kB / 1.265 GB, free: 190.7 MB / 0.9981 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.000704/0.8634, allocations: 0.6034 MB / 1.265 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/0.8635, allocations: 206.4 kB / 1.266 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003172/0.8639, allocations: 253.4 kB / 1.266 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.8639, allocations: 6.75 kB / 1.266 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/0.8639, allocations: 3.781 kB / 1.266 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.8639, allocations: 7.406 kB / 1.266 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003488/0.8674, allocations: 2.335 MB / 1.268 GB, free: 190 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.8674, allocations: 5.234 kB / 1.268 GB, free: 190 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003197/0.8677, allocations: 68.16 kB / 1.268 GB, free: 190 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006525/0.8684, allocations: 257.5 kB / 1.269 GB, free: 190 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.007e-05/0.8685, allocations: 17.69 kB / 1.269 GB, free: 190 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004071/0.8725, allocations: 4.754 MB / 1.273 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.8726, allocations: 0 / 1.273 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002405/0.875, allocations: 1.576 MB / 1.275 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003047/0.8753, allocations: 311.8 kB / 1.275 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.8754, allocations: 18.94 kB / 1.275 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004235/0.8759, allocations: 38.52 kB / 1.275 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.876, allocations: 70.22 kB / 1.275 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-05/0.8761, allocations: 33.23 kB / 1.275 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002254/0.8783, allocations: 2.424 MB / 1.278 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.8783, allocations: 0 / 1.278 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007961/0.8792, allocations: 292.9 kB / 1.278 GB, free: 184.8 MB / 0.9981 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.003491/0.8826, allocations: 2.504 MB / 1.28 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002033/0.8847, allocations: 1.155 MB / 1.281 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.8847, allocations: 0 / 1.281 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000923/0.8856, allocations: 0.6844 MB / 1.282 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.8869, allocations: 283.1 kB / 1.282 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01558/0.9024, allocations: 15.54 MB / 1.298 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007577/0.9032, allocations: 1.532 MB / 1.299 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003701/0.9036, allocations: 149.1 kB / 1.299 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000517/0.9041, allocations: 0.7023 MB / 1.3 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/0.9041, allocations: 0 / 1.3 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05093/0.9551, allocations: 32.37 MB / 1.331 GB, free: 138.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.331/10.29, allocations: 12.83 kB / 1.331 GB, free: 138.8 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)