Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.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.TestCase11,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11",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.001474/0.001474, 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.001644/0.001644, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.272/1.272, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.546/2.546, allocations: 461.9 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 63.25 kB / 0.8985 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2387, allocations: 157.4 MB / 1.052 GB, free: 8.211 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11): time 0.1475/0.3863, allocations: 156 MB / 1.205 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02297/0.4093, allocations: 22.09 MB / 1.226 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001745/0.4111, allocations: 55.69 kB / 1.226 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002319/0.4134, allocations: 1.949 MB / 1.228 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001902/0.4153, allocations: 1.281 MB / 1.229 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001533/0.4169, allocations: 0.6042 MB / 1.23 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002094/0.419, allocations: 2.028 MB / 1.232 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001383/0.4204, allocations: 1.065 MB / 1.233 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/0.4215, allocations: 0.8098 MB / 1.234 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001541/0.423, allocations: 1.42 MB / 1.235 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000164/0.4232, allocations: 60 kB / 1.235 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003137/0.4235, allocations: 123.9 kB / 1.235 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003824/0.4239, allocations: 0.4998 MB / 1.236 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006038/0.4245, allocations: 0.7756 MB / 1.237 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001354/0.4259, allocations: 1.872 MB / 1.238 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4259, allocations: 0 / 1.238 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of FrontEnd: time 7.61e-07/0.4259, allocations: 0 / 1.238 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.538e-05/0.4259, allocations: 0 / 1.238 GB, free: 8.863 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.003152/0.4291, allocations: 2.385 MB / 1.241 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.4291, allocations: 11.97 kB / 1.241 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001389/0.4293, allocations: 130.9 kB / 1.241 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003032/0.4296, allocations: 241.9 kB / 1.241 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.4308, allocations: 1.046 MB / 1.242 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/0.431, allocations: 103.7 kB / 1.242 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.4311, allocations: 79.91 kB / 1.242 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.4325, allocations: 0.8729 MB / 1.243 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.4326, allocations: 0 / 1.243 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-05/0.4327, allocations: 32 kB / 1.243 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.4327, allocations: 20 kB / 1.243 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.434, allocations: 0.648 MB / 1.244 GB, free: 3.125 MB / 0.9981 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.4036/0.8376, allocations: 4.175 MB / 1.248 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.8391, allocations: 0.7086 MB / 1.249 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007276/0.8398, allocations: 418.4 kB / 1.249 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.719e-05/0.8399, allocations: 9.594 kB / 1.249 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007656/0.8407, allocations: 436.8 kB / 1.249 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=79): time 3.326e-06/0.8407, allocations: 0 / 1.249 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=79): time 0.005378/0.8461, allocations: 2.102 MB / 1.251 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.543e-05/0.8461, allocations: 92.61 kB / 1.252 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002461/0.8486, allocations: 3.2 MB / 1.255 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.285e-05/0.8487, allocations: 50.64 kB / 1.255 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005751/0.8492, allocations: 0.9563 MB / 1.256 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.8494, allocations: 260.3 kB / 1.256 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/0.8496, allocations: 148.5 kB / 1.256 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.191e-05/0.8497, allocations: 344.7 kB / 1.256 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000633/0.8503, allocations: 309.1 kB / 1.257 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006698/0.851, allocations: 478 kB / 1.257 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.8521, allocations: 0.7268 MB / 1.258 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.8521, allocations: 2.688 kB / 1.258 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002014/0.8541, allocations: 1.234 MB / 1.259 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.8542, allocations: 5.781 kB / 1.259 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.8542, allocations: 11.75 kB / 1.259 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000891/0.8551, allocations: 322.5 kB / 1.259 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004582/0.8556, allocations: 130.9 kB / 1.259 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005377/0.8609, allocations: 3.791 MB / 1.263 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006136/0.8616, allocations: 119.6 kB / 1.263 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.124e-05/0.8616, allocations: 31.12 kB / 1.263 GB, free: 190.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 34 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.setTemp.nextTimeEvent,$whenCondition4,$whenCondition2,cha.u,$PRE.cha.u,thr.y,timer.entryTime,$PRE.timer.entryTime,not1.y,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,hysteresis.y,$PRE.hysteresis.y,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,$whenCondition1,$whenCondition3,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * 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 {(2,31)} Notification: Performance of prepare postOptimizeDAE: time 0.0006933/0.8623, allocations: 0.5886 MB / 1.264 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/0.8625, allocations: 204.8 kB / 1.264 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003183/0.8629, allocations: 252.1 kB / 1.264 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.888e-06/0.8629, allocations: 10.34 kB / 1.264 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.8629, allocations: 3.5 kB / 1.264 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.8629, allocations: 13.14 kB / 1.264 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004055/0.867, allocations: 2.402 MB / 1.267 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.867, allocations: 0.7031 kB / 1.267 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003217/0.8673, allocations: 67.02 kB / 1.267 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001016/0.8683, allocations: 344.3 kB / 1.267 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.714e-05/0.8684, allocations: 20.36 kB / 1.267 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005805/0.8742, allocations: 5.049 MB / 1.272 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.8742, allocations: 0 / 1.272 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002656/0.8769, allocations: 1.571 MB / 1.274 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003183/0.8772, allocations: 318.4 kB / 1.274 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/0.8774, allocations: 20.17 kB / 1.274 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005025/0.8779, allocations: 56.36 kB / 1.274 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002196/0.8781, allocations: 95.48 kB / 1.274 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.647e-05/0.8782, allocations: 30.28 kB / 1.274 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002303/0.8805, allocations: 2.334 MB / 1.276 GB, free: 185 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8805, allocations: 0 / 1.276 GB, free: 185 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009816/0.8815, allocations: 327.6 kB / 1.277 GB, free: 185 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,assEqu.diff,mean.x) * Number of discrete variables: 21 (not1.y,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,hysteresis.y,assEqu.satisfied,assEqu.nFai,mean.y_last,timer.entryTime,thr.y,cha.u) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled,hysteresis.y,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,27)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003787/0.8853, allocations: 2.526 MB / 1.279 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001895/0.8872, allocations: 1.022 MB / 1.28 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.8872, allocations: 5.062 kB / 1.28 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001254/0.8885, allocations: 0.7726 MB / 1.281 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.8898, allocations: 276.9 kB / 1.281 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01855/0.9083, allocations: 16.2 MB / 1.297 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000804/0.9092, allocations: 1.528 MB / 1.298 GB, free: 171 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004039/0.9096, allocations: 134.5 kB / 1.299 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006077/0.9102, allocations: 0.7648 MB / 1.299 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/0.9102, allocations: 0 / 1.299 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1573/1.067, allocations: 34.08 MB / 1.333 GB, free: 136.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001663/1.068, allocations: 311.3 kB / 1.333 GB, free: 136.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.627/3.694, allocations: 0 / 1.333 GB, free: 136.1 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-07 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe 2>&1)