Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11,fileNamePrefix="Buildings_9_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.00125/0.00125, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001216/0.001216, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.253/1.253, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.098/2.098, allocations: 390.2 MB / 0.6643 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 71.88 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4968/0.4981, allocations: 140.4 MB / 0.9491 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11): time 0.1379/0.636, allocations: 156 MB / 1.101 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02058/0.6566, allocations: 22.08 MB / 1.123 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001437/0.6581, allocations: 63.62 kB / 1.123 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001922/0.6601, allocations: 1.953 MB / 1.125 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0014/0.6615, allocations: 1.281 MB / 1.126 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.6627, allocations: 0.5903 MB / 1.127 GB, free: 11.51 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001452/0.6641, allocations: 2.036 MB / 1.129 GB, free: 9.461 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009672/0.6651, allocations: 1.054 MB / 1.13 GB, free: 8.387 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006975/0.6658, allocations: 0.8097 MB / 1.131 GB, free: 7.574 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001181/0.667, allocations: 1.428 MB / 1.132 GB, free: 6.145 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.6671, allocations: 63.94 kB / 1.132 GB, free: 6.082 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002605/0.6674, allocations: 112 kB / 1.132 GB, free: 5.973 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003449/0.6677, allocations: 0.4999 MB / 1.133 GB, free: 5.473 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005224/0.6683, allocations: 0.7794 MB / 1.133 GB, free: 4.688 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001225/0.6695, allocations: 1.88 MB / 1.135 GB, free: 2.801 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.6695, allocations: 4 kB / 1.135 GB, free: 2.797 MB / 0.8887 GB Notification: Performance of FrontEnd: time 7.02e-07/0.6695, allocations: 4 kB / 1.135 GB, free: 2.793 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.384e-05/0.6696, allocations: 0 / 1.135 GB, free: 2.793 MB / 0.8887 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.002895/0.6725, allocations: 2.373 MB / 1.138 GB, free: 360 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.6725, allocations: 12.03 kB / 1.138 GB, free: 348 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001257/0.6726, allocations: 123 kB / 1.138 GB, free: 216 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002908/0.6729, allocations: 242.1 kB / 1.138 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.6741, allocations: 1.046 MB / 1.139 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.6742, allocations: 107.7 kB / 1.139 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.6743, allocations: 83.94 kB / 1.139 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.6756, allocations: 0.8613 MB / 1.14 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.6757, allocations: 7.938 kB / 1.14 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.565e-05/0.6757, allocations: 32 kB / 1.14 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.6757, allocations: 23.98 kB / 1.14 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.6769, allocations: 0.6402 MB / 1.141 GB, free: 13.06 MB / 0.9044 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.004423/0.6814, allocations: 4.181 MB / 1.145 GB, free: 8.57 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.6827, allocations: 0.7066 MB / 1.145 GB, free: 7.859 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006824/0.6833, allocations: 419 kB / 1.146 GB, free: 7.449 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.946e-05/0.6834, allocations: 8.656 kB / 1.146 GB, free: 7.441 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007239/0.6841, allocations: 436.1 kB / 1.146 GB, free: 7.004 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=79): time 2.324e-06/0.6842, allocations: 0 / 1.146 GB, free: 7.004 MB / 0.9044 GB Notification: Performance of matching and sorting (n=79): time 0.005175/0.6893, allocations: 2.111 MB / 1.148 GB, free: 4.844 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.6894, allocations: 89.77 kB / 1.148 GB, free: 4.734 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002677/0.6921, allocations: 3.199 MB / 1.151 GB, free: 1.508 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.436e-05/0.6921, allocations: 45.69 kB / 1.152 GB, free: 1.457 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000644/0.6928, allocations: 0.9607 MB / 1.152 GB, free: 500 kB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001661/0.693, allocations: 252.4 kB / 1.153 GB, free: 244 kB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000193/0.6932, allocations: 150.7 kB / 1.153 GB, free: 88 kB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.6933, allocations: 345.9 kB / 1.153 GB, free: 15.74 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006082/0.6939, allocations: 309.8 kB / 1.153 GB, free: 15.44 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006946/0.6946, allocations: 461.4 kB / 1.154 GB, free: 14.94 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.6958, allocations: 0.7382 MB / 1.155 GB, free: 14.16 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.6958, allocations: 0 / 1.155 GB, free: 14.16 MB / 0.92 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002026/0.6978, allocations: 1.246 MB / 1.156 GB, free: 12.89 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.6978, allocations: 4 kB / 1.156 GB, free: 12.89 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.6979, allocations: 4 kB / 1.156 GB, free: 12.89 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008567/0.6987, allocations: 331 kB / 1.156 GB, free: 12.56 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004135/0.6991, allocations: 135.8 kB / 1.156 GB, free: 12.43 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004935/0.7041, allocations: 3.784 MB / 1.16 GB, free: 8.527 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005346/0.7046, allocations: 119.2 kB / 1.16 GB, free: 8.41 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.133e-05/0.7047, allocations: 31.98 kB / 1.16 GB, free: 8.379 MB / 0.92 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.0006018/0.7053, allocations: 0.595 MB / 1.161 GB, free: 7.773 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001783/0.7055, allocations: 209.3 kB / 1.161 GB, free: 7.566 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002886/0.7058, allocations: 253.5 kB / 1.161 GB, free: 7.312 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.7058, allocations: 8 kB / 1.161 GB, free: 7.305 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.7058, allocations: 0 / 1.161 GB, free: 7.305 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.7058, allocations: 3.984 kB / 1.161 GB, free: 7.301 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003286/0.7091, allocations: 2.413 MB / 1.164 GB, free: 4.816 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.7091, allocations: 0 / 1.164 GB, free: 4.816 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000273/0.7094, allocations: 59.97 kB / 1.164 GB, free: 4.758 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000812/0.7102, allocations: 338.9 kB / 1.164 GB, free: 4.422 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.946e-05/0.7103, allocations: 19.98 kB / 1.164 GB, free: 4.402 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005519/0.7158, allocations: 5.071 MB / 1.169 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.7158, allocations: 0 / 1.169 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002451/0.7183, allocations: 1.571 MB / 1.17 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003183/0.7186, allocations: 310.3 kB / 1.171 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/0.7188, allocations: 27.98 kB / 1.171 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004385/0.7192, allocations: 43.95 kB / 1.171 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001874/0.7194, allocations: 104.5 kB / 1.171 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.295e-05/0.7195, allocations: 27.92 kB / 1.171 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001997/0.7215, allocations: 2.337 MB / 1.173 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.272e-06/0.7215, allocations: 3.938 kB / 1.173 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000817/0.7223, allocations: 339.2 kB / 1.174 GB, free: 10.26 MB / 0.9356 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.003633/0.7259, allocations: 2.515 MB / 1.176 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001699/0.7276, allocations: 1.015 MB / 1.177 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.7277, allocations: 4 kB / 1.177 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001214/0.7289, allocations: 0.7738 MB / 1.178 GB, free: 6.066 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.7301, allocations: 293.1 kB / 1.178 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01842/0.7485, allocations: 16.19 MB / 1.194 GB, free: 4.418 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/0.7496, allocations: 1.532 MB / 1.195 GB, free: 2.852 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003956/0.75, allocations: 131.2 kB / 1.195 GB, free: 2.719 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000683/0.7507, allocations: 0.7609 MB / 1.196 GB, free: 1.957 MB / 0.9512 GB Notification: Performance of SimCode: time 7.91e-07/0.7507, allocations: 4 kB / 1.196 GB, free: 1.953 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.072/3.822, allocations: 34.06 MB / 1.229 GB, free: 260 kB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002579/3.823, allocations: 301 kB / 1.23 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.801/6.624, allocations: 0 / 1.23 GB, free: 15.87 MB / 0.9981 GB (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-07 Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11.fmu > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe 2>&1)