Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11,fileNamePrefix="Buildings_11_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.004465/0.004465, allocations: 102.8 kB / 15.74 MB, free: 6.496 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.00127/0.00127, allocations: 196.2 kB / 16.68 MB, free: 6.375 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.818/2.818, allocations: 469.8 MB / 0.7425 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 63.89 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2729, allocations: 159.1 MB / 1.22 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11): time 0.6844/0.9574, allocations: 158.3 MB / 1.375 GB, free: 9.5 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0284/0.9858, allocations: 22.24 MB / 1.396 GB, free: 7.918 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002019/0.9879, allocations: 63.66 kB / 1.397 GB, free: 7.898 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002381/0.9903, allocations: 1.988 MB / 1.398 GB, free: 6.875 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002056/0.9923, allocations: 1.328 MB / 1.4 GB, free: 6.09 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.994, allocations: 0.6815 MB / 1.4 GB, free: 5.555 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002029/0.996, allocations: 1.962 MB / 1.402 GB, free: 4.453 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001363/0.9974, allocations: 1.145 MB / 1.403 GB, free: 3.719 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/0.9984, allocations: 0.8951 MB / 1.404 GB, free: 3.23 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001563/1, allocations: 1.444 MB / 1.406 GB, free: 2.562 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001751/1, allocations: 105.9 kB / 1.406 GB, free: 2.562 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003332/1.001, allocations: 156 kB / 1.406 GB, free: 2.543 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004425/1.001, allocations: 0.5185 MB / 1.407 GB, free: 2.203 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0007402/1.002, allocations: 0.8232 MB / 1.407 GB, free: 1.57 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002072/1.004, allocations: 1.986 MB / 1.409 GB, free: 180 kB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/1.004, allocations: 0 / 1.409 GB, free: 180 kB / 1.092 GB Notification: Performance of FrontEnd: time 1.573e-06/1.004, allocations: 0 / 1.409 GB, free: 180 kB / 1.092 GB Notification: Performance of Transformations before backend: time 2.282e-05/1.004, allocations: 0 / 1.409 GB, free: 180 kB / 1.092 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.00351/1.007, allocations: 2.464 MB / 1.412 GB, free: 14.29 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/1.007, allocations: 10.25 kB / 1.412 GB, free: 14.29 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001568/1.008, allocations: 130.3 kB / 1.412 GB, free: 14.18 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003247/1.008, allocations: 257.4 kB / 1.412 GB, free: 14.04 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/1.009, allocations: 1.082 MB / 1.413 GB, free: 13.17 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/1.01, allocations: 95.78 kB / 1.413 GB, free: 13.11 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/1.01, allocations: 86.02 kB / 1.413 GB, free: 13.08 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/1.011, allocations: 0.868 MB / 1.414 GB, free: 12.54 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/1.011, allocations: 0 / 1.414 GB, free: 12.54 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.84e-05/1.011, allocations: 35.28 kB / 1.414 GB, free: 12.51 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/1.011, allocations: 19.75 kB / 1.414 GB, free: 12.51 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/1.013, allocations: 0.6458 MB / 1.415 GB, free: 12.19 MB / 1.107 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.005319/1.018, allocations: 4.171 MB / 1.419 GB, free: 8.68 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/1.019, allocations: 0.7033 MB / 1.42 GB, free: 8.32 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007923/1.02, allocations: 422.5 kB / 1.42 GB, free: 8.109 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 5.496e-05/1.02, allocations: 16.41 kB / 1.42 GB, free: 8.102 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008137/1.021, allocations: 432.2 kB / 1.42 GB, free: 7.84 MB / 1.107 GB Notification: Performance of pre-optimization done (n=79): time 2.324e-06/1.021, allocations: 0 / 1.42 GB, free: 7.84 MB / 1.107 GB Notification: Performance of matching and sorting (n=79): time 0.006418/1.028, allocations: 2.113 MB / 1.422 GB, free: 5.789 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.742e-05/1.028, allocations: 93.75 kB / 1.423 GB, free: 5.68 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003625/1.031, allocations: 3.2 MB / 1.426 GB, free: 2.453 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.914e-05/1.031, allocations: 49.7 kB / 1.426 GB, free: 2.398 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009039/1.032, allocations: 0.9645 MB / 1.427 GB, free: 1.426 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002361/1.033, allocations: 269.8 kB / 1.427 GB, free: 1.16 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002437/1.033, allocations: 150.7 kB / 1.427 GB, free: 1.008 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001508/1.033, allocations: 341.9 kB / 1.427 GB, free: 0.668 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007489/1.034, allocations: 317.8 kB / 1.428 GB, free: 364 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008633/1.035, allocations: 469.1 kB / 1.428 GB, free: 15.85 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/1.036, allocations: 0.7344 MB / 1.429 GB, free: 15.07 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.036, allocations: 4 kB / 1.429 GB, free: 15.06 MB / 1.123 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002529/1.039, allocations: 1.247 MB / 1.43 GB, free: 13.8 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/1.039, allocations: 8 kB / 1.43 GB, free: 13.8 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/1.039, allocations: 4 kB / 1.43 GB, free: 13.79 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009988/1.04, allocations: 327.8 kB / 1.43 GB, free: 13.47 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005041/1.04, allocations: 135.7 kB / 1.431 GB, free: 13.34 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006414/1.047, allocations: 4.071 MB / 1.435 GB, free: 9.141 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006574/1.047, allocations: 107.3 kB / 1.435 GB, free: 9.035 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.127e-05/1.047, allocations: 32 kB / 1.435 GB, free: 9.004 MB / 1.123 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.0008213/1.048, allocations: 0.5834 MB / 1.435 GB, free: 8.41 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002467/1.048, allocations: 218.5 kB / 1.435 GB, free: 8.195 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003898/1.049, allocations: 261.4 kB / 1.436 GB, free: 7.934 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/1.049, allocations: 4 kB / 1.436 GB, free: 7.93 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.049, allocations: 4 kB / 1.436 GB, free: 7.926 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/1.049, allocations: 3.984 kB / 1.436 GB, free: 7.922 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004133/1.053, allocations: 2.409 MB / 1.438 GB, free: 5.445 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/1.053, allocations: 0 / 1.438 GB, free: 5.445 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000324/1.053, allocations: 63.89 kB / 1.438 GB, free: 5.383 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009466/1.054, allocations: 341.4 kB / 1.438 GB, free: 5.043 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.78e-05/1.054, allocations: 23.98 kB / 1.438 GB, free: 5.02 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007458/1.062, allocations: 5.55 MB / 1.444 GB, free: 15.2 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/1.062, allocations: 3.938 kB / 1.444 GB, free: 15.19 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003106/1.065, allocations: 1.585 MB / 1.445 GB, free: 13.59 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004355/1.065, allocations: 331.7 kB / 1.446 GB, free: 13.24 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/1.066, allocations: 23.94 kB / 1.446 GB, free: 13.22 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000503/1.066, allocations: 39.95 kB / 1.446 GB, free: 13.18 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000223/1.066, allocations: 104.5 kB / 1.446 GB, free: 13.07 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.825e-05/1.066, allocations: 27.98 kB / 1.446 GB, free: 13.05 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.002763/1.069, allocations: 2.334 MB / 1.448 GB, free: 10.7 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.21e-07/1.069, allocations: 0 / 1.448 GB, free: 10.7 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001001/1.07, allocations: 323.5 kB / 1.448 GB, free: 10.38 MB / 1.139 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.005078/1.075, allocations: 2.523 MB / 1.451 GB, free: 8.008 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002208/1.078, allocations: 1.031 MB / 1.452 GB, free: 6.965 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/1.078, allocations: 4.5 kB / 1.452 GB, free: 6.961 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001526/1.079, allocations: 0.7733 MB / 1.453 GB, free: 6.16 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/1.081, allocations: 316.3 kB / 1.453 GB, free: 5.863 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02093/1.101, allocations: 13.9 MB / 1.467 GB, free: 7.691 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001341/1.103, allocations: 1.536 MB / 1.468 GB, free: 6.121 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0004158/1.103, allocations: 135.2 kB / 1.468 GB, free: 5.984 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008981/1.104, allocations: 0.7648 MB / 1.469 GB, free: 5.223 MB / 1.154 GB Notification: Performance of SimCode: time 4.61e-07/1.104, allocations: 0 / 1.469 GB, free: 5.223 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07874/1.183, allocations: 35.96 MB / 1.504 GB, free: 1.656 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.11/16.3, allocations: 15.98 kB / 1.504 GB, free: 1.641 MB / 1.186 GB (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11_res.csv --start-time 0 --stop-time 5.184e+06 --timeout 400 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 60 Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11.fmu > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe 2>&1)