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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001252/0.001252, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001141/0.001141, allocations: 189.9 kB / 16.25 MB, free: 6.648 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.251/1.251, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.115/2.115, allocations: 390.3 MB / 0.6644 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 60.08 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5193/0.5205, allocations: 140.4 MB / 0.9492 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11): time 0.1483/0.6689, allocations: 156.1 MB / 1.102 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02268/0.6916, allocations: 21.96 MB / 1.123 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002062/0.6937, allocations: 63.62 kB / 1.123 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002804/0.6965, allocations: 1.933 MB / 1.125 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002511/0.6991, allocations: 1.254 MB / 1.126 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001699/0.7008, allocations: 0.6083 MB / 1.127 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002283/0.7031, allocations: 1.962 MB / 1.129 GB, free: 9.473 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001585/0.7047, allocations: 1.148 MB / 1.13 GB, free: 8.301 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001309/0.706, allocations: 0.8995 MB / 1.131 GB, free: 7.398 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001689/0.7077, allocations: 1.506 MB / 1.132 GB, free: 5.891 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002782/0.708, allocations: 108 kB / 1.132 GB, free: 5.785 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004316/0.7085, allocations: 152 kB / 1.133 GB, free: 5.637 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.00048/0.7089, allocations: 0.539 MB / 1.133 GB, free: 5.098 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0008277/0.7098, allocations: 0.8301 MB / 1.134 GB, free: 4.262 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001787/0.7116, allocations: 1.934 MB / 1.136 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.7116, allocations: 3.938 kB / 1.136 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7116, allocations: 0 / 1.136 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.466e-05/0.7117, allocations: 0 / 1.136 GB, free: 2.316 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.003213/0.7149, allocations: 2.381 MB / 1.138 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.7149, allocations: 12.03 kB / 1.138 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001394/0.7151, allocations: 123 kB / 1.138 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002907/0.7154, allocations: 241.9 kB / 1.138 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.7165, allocations: 1.05 MB / 1.139 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/0.7167, allocations: 103.7 kB / 1.14 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.7168, allocations: 80 kB / 1.14 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.7182, allocations: 0.869 MB / 1.141 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.7182, allocations: 0 / 1.141 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.614e-05/0.7183, allocations: 32 kB / 1.141 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.7183, allocations: 20 kB / 1.141 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.7195, allocations: 0.6479 MB / 1.141 GB, free: 12.58 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.004472/0.724, allocations: 4.177 MB / 1.145 GB, free: 8.09 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.7253, allocations: 0.7144 MB / 1.146 GB, free: 7.371 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006854/0.726, allocations: 411.1 kB / 1.146 GB, free: 6.969 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 5.717e-05/0.726, allocations: 20.64 kB / 1.146 GB, free: 6.949 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007339/0.7268, allocations: 440.1 kB / 1.147 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=79): time 2.124e-06/0.7268, allocations: 0 / 1.147 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of matching and sorting (n=79): time 0.005457/0.7322, allocations: 2.095 MB / 1.149 GB, free: 4.363 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.7323, allocations: 89.7 kB / 1.149 GB, free: 4.254 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002719/0.735, allocations: 3.203 MB / 1.152 GB, free: 1.023 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.085e-05/0.7351, allocations: 49.7 kB / 1.152 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006353/0.7357, allocations: 0.9568 MB / 1.153 GB, free: 4 kB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002385/0.736, allocations: 260.4 kB / 1.153 GB, free: 15.75 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/0.7362, allocations: 154.7 kB / 1.153 GB, free: 15.59 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.7364, allocations: 337.9 kB / 1.154 GB, free: 15.25 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006657/0.7371, allocations: 317.7 kB / 1.154 GB, free: 14.94 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000748/0.7378, allocations: 461.4 kB / 1.155 GB, free: 14.44 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/0.7391, allocations: 0.7382 MB / 1.155 GB, free: 13.66 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.7391, allocations: 0 / 1.155 GB, free: 13.66 MB / 0.92 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002232/0.7413, allocations: 1.238 MB / 1.156 GB, free: 12.41 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.7414, allocations: 8 kB / 1.156 GB, free: 12.4 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.7414, allocations: 4 kB / 1.156 GB, free: 12.39 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009527/0.7423, allocations: 327 kB / 1.157 GB, free: 12.07 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004466/0.7428, allocations: 131.8 kB / 1.157 GB, free: 11.95 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005576/0.7484, allocations: 4.114 MB / 1.161 GB, free: 7.703 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005941/0.749, allocations: 111.2 kB / 1.161 GB, free: 7.594 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-05/0.749, allocations: 32 kB / 1.161 GB, free: 7.562 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.0007229/0.7498, allocations: 0.595 MB / 1.162 GB, free: 6.961 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002131/0.75, allocations: 213.3 kB / 1.162 GB, free: 6.75 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003562/0.7504, allocations: 245.5 kB / 1.162 GB, free: 6.504 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.7504, allocations: 8 kB / 1.162 GB, free: 6.496 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.7504, allocations: 3.984 kB / 1.162 GB, free: 6.492 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.7504, allocations: 3.984 kB / 1.162 GB, free: 6.488 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003771/0.7542, allocations: 2.409 MB / 1.164 GB, free: 4.008 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-06/0.7542, allocations: 0 / 1.164 GB, free: 4.008 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/0.7545, allocations: 67.89 kB / 1.164 GB, free: 3.941 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000859/0.7554, allocations: 343.1 kB / 1.165 GB, free: 3.602 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.045e-05/0.7554, allocations: 23.98 kB / 1.165 GB, free: 3.578 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006269/0.7617, allocations: 5.541 MB / 1.17 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.7617, allocations: 3.938 kB / 1.17 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002572/0.7643, allocations: 1.575 MB / 1.172 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003622/0.7647, allocations: 314.3 kB / 1.172 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/0.7648, allocations: 27.88 kB / 1.172 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004998/0.7654, allocations: 51.94 kB / 1.172 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001982/0.7656, allocations: 100.5 kB / 1.172 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.359e-05/0.7656, allocations: 23.98 kB / 1.172 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002237/0.7679, allocations: 2.334 MB / 1.175 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7679, allocations: 0 / 1.175 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009163/0.7688, allocations: 335.3 kB / 1.175 GB, free: 8.949 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.003822/0.7726, allocations: 2.51 MB / 1.177 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002122/0.7748, allocations: 1.094 MB / 1.178 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.7748, allocations: 4.125 kB / 1.178 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.00132/0.7761, allocations: 0.7732 MB / 1.179 GB, free: 4.684 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/0.7775, allocations: 303.7 kB / 1.179 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02116/0.7986, allocations: 16.21 MB / 1.195 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/0.7999, allocations: 1.532 MB / 1.197 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0004293/0.8003, allocations: 131.2 kB / 1.197 GB, free: 1.32 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007414/0.8011, allocations: 0.7648 MB / 1.198 GB, free: 0.5547 MB / 0.9512 GB Notification: Performance of SimCode: time 6.41e-07/0.8011, allocations: 0 / 1.198 GB, free: 0.5547 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06084/0.8619, allocations: 34.88 MB / 1.232 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002867/0.8622, allocations: 295.4 kB / 1.232 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.417/3.279, allocations: 0 / 1.232 GB, free: 13.67 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)