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.001467/0.001467, 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.001648/0.001648, allocations: 193.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.248/1.248, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.205/2.205, allocations: 390.2 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 67.89 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5195/0.5209, allocations: 140.4 MB / 0.9497 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11): time 0.1437/0.6646, allocations: 158.3 MB / 1.104 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02141/0.686, allocations: 22.23 MB / 1.126 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001751/0.6878, allocations: 71.62 kB / 1.126 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002095/0.69, allocations: 1.975 MB / 1.128 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001694/0.6917, allocations: 1.331 MB / 1.129 GB, free: 9.297 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001407/0.6931, allocations: 0.6751 MB / 1.13 GB, free: 8.625 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00171/0.6948, allocations: 1.969 MB / 1.132 GB, free: 6.645 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00118/0.696, allocations: 1.14 MB / 1.133 GB, free: 5.484 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000876/0.6969, allocations: 0.8841 MB / 1.134 GB, free: 4.598 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0014/0.6983, allocations: 1.451 MB / 1.135 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001801/0.6985, allocations: 104 kB / 1.135 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000363/0.6988, allocations: 156 kB / 1.136 GB, free: 2.891 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004075/0.6993, allocations: 0.5233 MB / 1.136 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006032/0.6999, allocations: 0.8224 MB / 1.137 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.7013, allocations: 1.919 MB / 1.139 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.7014, allocations: 3.984 kB / 1.139 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7014, allocations: 0 / 1.139 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.189e-05/0.7014, allocations: 0 / 1.139 GB, free: 15.61 MB / 0.9044 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.003127/0.7045, allocations: 2.389 MB / 1.141 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.7046, allocations: 12.03 kB / 1.141 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001303/0.7047, allocations: 131 kB / 1.141 GB, free: 13 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003017/0.705, allocations: 241.9 kB / 1.141 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/0.7062, allocations: 1.038 MB / 1.142 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001329/0.7063, allocations: 99.69 kB / 1.143 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.7065, allocations: 87.98 kB / 1.143 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.7078, allocations: 0.8651 MB / 1.143 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.7078, allocations: 4 kB / 1.143 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-05/0.7079, allocations: 35.94 kB / 1.143 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.7079, allocations: 16 kB / 1.144 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.7091, allocations: 0.6519 MB / 1.144 GB, free: 9.863 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.004579/0.7137, allocations: 4.185 MB / 1.148 GB, free: 5.367 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.7151, allocations: 0.7144 MB / 1.149 GB, free: 4.648 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007128/0.7158, allocations: 415.2 kB / 1.149 GB, free: 4.242 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.396e-05/0.7158, allocations: 8.656 kB / 1.149 GB, free: 4.234 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007258/0.7166, allocations: 436.1 kB / 1.15 GB, free: 3.793 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=79): time 2.305e-06/0.7166, allocations: 0 / 1.15 GB, free: 3.793 MB / 0.9044 GB Notification: Performance of matching and sorting (n=79): time 0.005454/0.722, allocations: 2.107 MB / 1.152 GB, free: 1.637 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/0.7221, allocations: 89.77 kB / 1.152 GB, free: 1.527 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002793/0.7249, allocations: 3.199 MB / 1.155 GB, free: 14.3 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.849e-05/0.725, allocations: 45.7 kB / 1.155 GB, free: 14.25 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006706/0.7257, allocations: 0.9645 MB / 1.156 GB, free: 13.28 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.7258, allocations: 256.5 kB / 1.156 GB, free: 13.02 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001952/0.726, allocations: 146.7 kB / 1.156 GB, free: 12.88 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.7261, allocations: 341.9 kB / 1.157 GB, free: 12.54 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006404/0.7268, allocations: 313.8 kB / 1.157 GB, free: 12.23 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007056/0.7275, allocations: 469.3 kB / 1.157 GB, free: 11.71 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.7287, allocations: 0.7383 MB / 1.158 GB, free: 10.93 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.7288, allocations: 0 / 1.158 GB, free: 10.93 MB / 0.92 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002165/0.7309, allocations: 1.234 MB / 1.159 GB, free: 9.688 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.731, allocations: 8 kB / 1.159 GB, free: 9.68 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.731, allocations: 4 kB / 1.159 GB, free: 9.676 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008808/0.7319, allocations: 331 kB / 1.16 GB, free: 9.352 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004315/0.7323, allocations: 127.7 kB / 1.16 GB, free: 9.227 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005469/0.7378, allocations: 4.071 MB / 1.164 GB, free: 5.031 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006204/0.7384, allocations: 111.1 kB / 1.164 GB, free: 4.922 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.951e-05/0.7385, allocations: 32 kB / 1.164 GB, free: 4.891 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.0006894/0.7392, allocations: 0.595 MB / 1.165 GB, free: 4.285 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/0.7394, allocations: 205.4 kB / 1.165 GB, free: 4.082 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003067/0.7397, allocations: 257.5 kB / 1.165 GB, free: 3.824 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.7397, allocations: 11.94 kB / 1.165 GB, free: 3.812 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.7397, allocations: 0 / 1.165 GB, free: 3.812 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.7397, allocations: 3.984 kB / 1.165 GB, free: 3.809 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00348/0.7432, allocations: 2.401 MB / 1.167 GB, free: 1.336 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.7432, allocations: 7.984 kB / 1.167 GB, free: 1.328 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002813/0.7435, allocations: 59.91 kB / 1.167 GB, free: 1.27 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008473/0.7444, allocations: 353.6 kB / 1.168 GB, free: 0.918 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.101e-05/0.7444, allocations: 19.98 kB / 1.168 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006357/0.7508, allocations: 5.542 MB / 1.173 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.7508, allocations: 3.938 kB / 1.173 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002773/0.7536, allocations: 1.575 MB / 1.175 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004471/0.7541, allocations: 314.3 kB / 1.175 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001942/0.7543, allocations: 23.92 kB / 1.175 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004899/0.7548, allocations: 43.95 kB / 1.175 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002092/0.755, allocations: 96.52 kB / 1.175 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.523e-05/0.7551, allocations: 27.98 kB / 1.175 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002325/0.7574, allocations: 2.334 MB / 1.177 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7574, allocations: 0 / 1.177 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009666/0.7584, allocations: 323.4 kB / 1.178 GB, free: 6.297 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.003793/0.7622, allocations: 2.514 MB / 1.18 GB, free: 3.938 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002253/0.7644, allocations: 1.09 MB / 1.181 GB, free: 2.836 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.7645, allocations: 12.06 kB / 1.181 GB, free: 2.824 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001342/0.7658, allocations: 0.7694 MB / 1.182 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.7671, allocations: 301.1 kB / 1.182 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01939/0.7865, allocations: 15.72 MB / 1.198 GB, free: 0.8516 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001156/0.7877, allocations: 1.532 MB / 1.199 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0004601/0.7882, allocations: 131.2 kB / 1.199 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007237/0.7889, allocations: 0.7688 MB / 1.2 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of SimCode: time 5.81e-07/0.789, allocations: 0 / 1.2 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.084/1.873, allocations: 35.32 MB / 1.235 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/13.19, allocations: 12 kB / 1.235 GB, free: 11.41 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)