Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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.TestCase10,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10",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.001313/0.001313, 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.001375/0.001375, allocations: 191.6 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.311/1.311, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.531/2.531, allocations: 461.9 MB / 0.7346 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 63.28 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2833, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.149/0.4324, allocations: 157.6 MB / 1.207 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02336/0.4558, allocations: 22.07 MB / 1.228 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001781/0.4576, allocations: 63.62 kB / 1.228 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002172/0.4598, allocations: 2.171 MB / 1.231 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001856/0.4617, allocations: 1.456 MB / 1.232 GB, free: 244 kB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001447/0.4631, allocations: 0.6099 MB / 1.233 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001916/0.4651, allocations: 1.949 MB / 1.234 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00118/0.4663, allocations: 1.127 MB / 1.236 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009684/0.4672, allocations: 0.9153 MB / 1.236 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001521/0.4688, allocations: 1.588 MB / 1.238 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000184/0.469, allocations: 100 kB / 1.238 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003141/0.4693, allocations: 140 kB / 1.238 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004115/0.4697, allocations: 0.5625 MB / 1.239 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006132/0.4703, allocations: 0.803 MB / 1.24 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001538/0.4719, allocations: 1.915 MB / 1.241 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.4719, allocations: 0 / 1.241 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4719, allocations: 0 / 1.241 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.755e-05/0.4719, allocations: 0 / 1.241 GB, free: 6.492 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.002992/0.4749, allocations: 2.361 MB / 1.244 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.475, allocations: 12.62 kB / 1.244 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001226/0.4751, allocations: 122.4 kB / 1.244 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002475/0.4754, allocations: 237 kB / 1.244 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.4765, allocations: 1.031 MB / 1.245 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/0.4766, allocations: 91.69 kB / 1.245 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.91e-05/0.4767, allocations: 68 kB / 1.245 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.478, allocations: 0.801 MB / 1.246 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.478, allocations: 3.938 kB / 1.246 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.889e-05/0.4781, allocations: 24 kB / 1.246 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.4781, allocations: 16 kB / 1.246 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.4792, allocations: 0.6453 MB / 1.247 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4423/0.9215, allocations: 3.744 MB / 1.25 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.923, allocations: 0.736 MB / 1.251 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007028/0.9237, allocations: 425.9 kB / 1.251 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.675e-05/0.9238, allocations: 16.77 kB / 1.251 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007017/0.9245, allocations: 454.9 kB / 1.252 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=73): time 2.845e-06/0.9245, allocations: 2.844 kB / 1.252 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=73): time 0.003593/0.9281, allocations: 1.83 MB / 1.254 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.9282, allocations: 64.25 kB / 1.254 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002772/0.9309, allocations: 3.38 MB / 1.257 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.057e-05/0.931, allocations: 43.47 kB / 1.257 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006075/0.9316, allocations: 0.9286 MB / 1.258 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001589/0.9318, allocations: 233.6 kB / 1.258 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/0.932, allocations: 141.8 kB / 1.258 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.718e-05/0.9321, allocations: 337.1 kB / 1.259 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006036/0.9327, allocations: 325.4 kB / 1.259 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006781/0.9334, allocations: 470.6 kB / 1.259 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.9345, allocations: 0.7521 MB / 1.26 GB, free: 193 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.9345, allocations: 0.7031 kB / 1.26 GB, free: 193 MB / 0.9981 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002225/0.9367, allocations: 1.247 MB / 1.261 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.9368, allocations: 6.719 kB / 1.261 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.9368, allocations: 3.812 kB / 1.261 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007392/0.9375, allocations: 267.5 kB / 1.262 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005257/0.9381, allocations: 136.2 kB / 1.262 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004431/0.9425, allocations: 4.758 MB / 1.266 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007672/0.9433, allocations: 101.9 kB / 1.267 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.942e-05/0.9434, allocations: 29.36 kB / 1.267 GB, free: 189.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.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.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 (77): * Single equations (assignments): 75 * 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 {(1,3,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009571/0.9443, allocations: 0.6104 MB / 1.267 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002317/0.9446, allocations: 210.8 kB / 1.267 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000386/0.9449, allocations: 260.7 kB / 1.268 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.945, allocations: 7.281 kB / 1.268 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.07e-05/0.945, allocations: 3.594 kB / 1.268 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/0.945, allocations: 8.844 kB / 1.268 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004091/0.9491, allocations: 2.42 MB / 1.27 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.9491, allocations: 0.5625 kB / 1.27 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000358/0.9495, allocations: 74.16 kB / 1.27 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006789/0.9502, allocations: 253 kB / 1.27 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.175e-05/0.9502, allocations: 22.17 kB / 1.27 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003905/0.9541, allocations: 4.753 MB / 1.275 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.9542, allocations: 3.719 kB / 1.275 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002613/0.9568, allocations: 1.638 MB / 1.277 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003785/0.9572, allocations: 319 kB / 1.277 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/0.9573, allocations: 20.55 kB / 1.277 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004329/0.9578, allocations: 36.41 kB / 1.277 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001771/0.958, allocations: 76.22 kB / 1.277 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.445e-05/0.958, allocations: 25.2 kB / 1.277 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002627/0.9606, allocations: 2.472 MB / 1.279 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.9607, allocations: 0 / 1.279 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009954/0.9617, allocations: 302.4 kB / 1.28 GB, free: 183.3 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,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * 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.003712/0.9654, allocations: 2.565 MB / 1.282 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002361/0.9677, allocations: 1.185 MB / 1.283 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.9678, allocations: 0.6875 kB / 1.283 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.9688, allocations: 0.7142 MB / 1.284 GB, free: 181 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/0.9701, allocations: 304.2 kB / 1.284 GB, free: 180.9 MB / 0.9981 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02104/0.9912, allocations: 16.1 MB / 1.3 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001135/0.9923, allocations: 1.552 MB / 1.302 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005228/0.9929, allocations: 158.5 kB / 1.302 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006547/0.9935, allocations: 0.7531 MB / 1.303 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of SimCode: time 6.71e-07/0.9935, allocations: 0 / 1.303 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06115/1.055, allocations: 33.68 MB / 1.335 GB, free: 134.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.26/10.31, allocations: 11.33 kB / 1.335 GB, free: 134.5 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1)