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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> 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.001217/0.001217, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 198.5 kB / 16.14 MB, free: 6.711 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.37/1.37, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.652/2.652, allocations: 461.8 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 64.28 kB / 0.8985 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2944, allocations: 157.4 MB / 1.052 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.1642/0.4587, allocations: 155 MB / 1.204 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02435/0.4831, allocations: 21.86 MB / 1.225 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001909/0.485, allocations: 55.62 kB / 1.225 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002309/0.4874, allocations: 2.109 MB / 1.227 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001829/0.4892, allocations: 1.355 MB / 1.228 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.4906, allocations: 0.5226 MB / 1.229 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001858/0.4924, allocations: 1.906 MB / 1.231 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001093/0.4935, allocations: 0.9938 MB / 1.232 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008528/0.4944, allocations: 0.7904 MB / 1.232 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001416/0.4958, allocations: 1.514 MB / 1.234 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001379/0.496, allocations: 52 kB / 1.234 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002929/0.4963, allocations: 95.98 kB / 1.234 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004317/0.4967, allocations: 0.5235 MB / 1.235 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006111/0.4973, allocations: 0.7328 MB / 1.235 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.4988, allocations: 1.771 MB / 1.237 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4988, allocations: 0 / 1.237 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of FrontEnd: time 8.81e-07/0.4988, allocations: 0 / 1.237 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.4988, allocations: 0 / 1.237 GB, free: 10.26 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.003151/0.5019, allocations: 2.281 MB / 1.239 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.502, allocations: 15.97 kB / 1.239 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001251/0.5021, allocations: 114.6 kB / 1.239 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002556/0.5024, allocations: 230 kB / 1.24 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.5036, allocations: 1.003 MB / 1.241 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.5037, allocations: 87 kB / 1.241 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.5038, allocations: 63.94 kB / 1.241 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.5051, allocations: 0.729 MB / 1.241 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/0.5052, allocations: 7.984 kB / 1.241 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.069e-05/0.5052, allocations: 24 kB / 1.241 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.5052, allocations: 12 kB / 1.241 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.5064, allocations: 0.5868 MB / 1.242 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00448/0.5109, allocations: 3.529 MB / 1.245 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/0.5124, allocations: 0.7099 MB / 1.246 GB, free: 448 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007204/0.5131, allocations: 410.3 kB / 1.247 GB, free: 36 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.993e-05/0.5132, allocations: 8.562 kB / 1.247 GB, free: 28 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4931/1.006, allocations: 427.2 kB / 1.247 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=70): time 3.917e-06/1.006, allocations: 0.7812 kB / 1.247 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70): time 0.004491/1.011, allocations: 1.8 MB / 1.249 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/1.011, allocations: 63.19 kB / 1.249 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003413/1.014, allocations: 3.305 MB / 1.252 GB, free: 195 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.728e-05/1.014, allocations: 45.22 kB / 1.252 GB, free: 195 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005586/1.015, allocations: 0.8877 MB / 1.253 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/1.015, allocations: 224.4 kB / 1.253 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/1.015, allocations: 131.7 kB / 1.253 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.315e-05/1.015, allocations: 334.4 kB / 1.254 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005654/1.016, allocations: 308.5 kB / 1.254 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005996/1.017, allocations: 437.8 kB / 1.254 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/1.018, allocations: 0.7138 MB / 1.255 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/1.018, allocations: 6.281 kB / 1.255 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002045/1.02, allocations: 1.211 MB / 1.256 GB, free: 194 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/1.02, allocations: 5.781 kB / 1.256 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/1.02, allocations: 6.312 kB / 1.256 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007314/1.02, allocations: 259.8 kB / 1.256 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004447/1.021, allocations: 136 kB / 1.257 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004077/1.025, allocations: 4.369 MB / 1.261 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006688/1.026, allocations: 97.77 kB / 1.261 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.051e-05/1.026, allocations: 28.81 kB / 1.261 GB, free: 191.3 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.0009701/1.027, allocations: 0.6078 MB / 1.262 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002378/1.027, allocations: 206.5 kB / 1.262 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004044/1.027, allocations: 252.3 kB / 1.262 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/1.027, allocations: 7.594 kB / 1.262 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.771e-05/1.027, allocations: 7.656 kB / 1.262 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/1.027, allocations: 3.938 kB / 1.262 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004345/1.032, allocations: 2.335 MB / 1.264 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/1.032, allocations: 3.375 kB / 1.264 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000322/1.032, allocations: 69.11 kB / 1.264 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006568/1.033, allocations: 245.1 kB / 1.265 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-05/1.033, allocations: 21.25 kB / 1.265 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004246/1.037, allocations: 4.359 MB / 1.269 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.037, allocations: 4.438 kB / 1.269 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003391/1.041, allocations: 1.579 MB / 1.27 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004146/1.041, allocations: 308.4 kB / 1.271 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/1.041, allocations: 22.39 kB / 1.271 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004813/1.042, allocations: 59.88 kB / 1.271 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002138/1.042, allocations: 68.88 kB / 1.271 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-05/1.042, allocations: 27.45 kB / 1.271 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002858/1.045, allocations: 2.424 MB / 1.273 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.01e-07/1.045, allocations: 3.938 kB / 1.273 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00102/1.046, allocations: 290.4 kB / 1.274 GB, free: 186.6 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.003881/1.05, allocations: 2.518 MB / 1.276 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001961/1.052, allocations: 1.056 MB / 1.277 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/1.052, allocations: 0 / 1.277 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001182/1.053, allocations: 0.6928 MB / 1.278 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/1.054, allocations: 264.6 kB / 1.278 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02162/1.076, allocations: 15.96 MB / 1.294 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008734/1.077, allocations: 1.535 MB / 1.295 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004671/1.077, allocations: 153.5 kB / 1.295 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005645/1.078, allocations: 0.7037 MB / 1.296 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of SimCode: time 6.52e-07/1.078, allocations: 0 / 1.296 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04436/1.122, allocations: 31.43 MB / 1.327 GB, free: 142.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001515/1.122, allocations: 290.8 kB / 1.327 GB, free: 142.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.409/3.531, allocations: 0 / 1.327 GB, free: 142.6 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)