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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.007311/0.007311, allocations: 101.2 kB / 15.73 MB, free: 6.039 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.001887/0.001887, allocations: 196 kB / 16.67 MB, free: 5.961 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.876/2.876, allocations: 482.4 MB / 0.7548 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 63.91 kB / 1.083 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2825, allocations: 162.2 MB / 1.241 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11): time 0.6911/0.9736, allocations: 158.3 MB / 1.396 GB, free: 324 kB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02704/1.001, allocations: 22.24 MB / 1.418 GB, free: 14.09 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002197/1.003, allocations: 72.12 kB / 1.418 GB, free: 14.07 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002397/1.005, allocations: 1.977 MB / 1.42 GB, free: 13.05 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002131/1.007, allocations: 1.323 MB / 1.421 GB, free: 12.27 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001697/1.009, allocations: 0.6866 MB / 1.422 GB, free: 11.73 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.00215/1.011, allocations: 1.953 MB / 1.424 GB, free: 10.64 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001429/1.013, allocations: 1.152 MB / 1.425 GB, free: 9.898 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00106/1.014, allocations: 0.8882 MB / 1.426 GB, free: 9.418 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001415/1.015, allocations: 1.447 MB / 1.427 GB, free: 8.746 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001597/1.015, allocations: 106 kB / 1.427 GB, free: 8.746 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003276/1.016, allocations: 164 kB / 1.427 GB, free: 8.719 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004379/1.016, allocations: 0.5192 MB / 1.428 GB, free: 8.379 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0007082/1.017, allocations: 0.819 MB / 1.429 GB, free: 7.75 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00211/1.019, allocations: 1.981 MB / 1.431 GB, free: 6.066 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/1.019, allocations: 3.938 kB / 1.431 GB, free: 6.062 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.252e-06/1.019, allocations: 0 / 1.431 GB, free: 6.062 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.259e-05/1.019, allocations: 0 / 1.431 GB, free: 6.062 MB / 1.123 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.003607/1.023, allocations: 2.466 MB / 1.433 GB, free: 3.535 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/1.023, allocations: 8.031 kB / 1.433 GB, free: 3.527 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001523/1.023, allocations: 127 kB / 1.433 GB, free: 3.395 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003479/1.023, allocations: 259.3 kB / 1.433 GB, free: 3.141 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/1.025, allocations: 1.072 MB / 1.434 GB, free: 2.004 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001649/1.025, allocations: 107.7 kB / 1.435 GB, free: 1.891 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/1.025, allocations: 84 kB / 1.435 GB, free: 1.809 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/1.027, allocations: 0.8651 MB / 1.435 GB, free: 0.9141 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/1.027, allocations: 4 kB / 1.435 GB, free: 0.9102 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.579e-05/1.027, allocations: 32 kB / 1.435 GB, free: 0.8789 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/1.027, allocations: 16 kB / 1.435 GB, free: 0.8633 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/1.028, allocations: 0.6518 MB / 1.436 GB, free: 212 kB / 1.123 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.005682/1.034, allocations: 4.17 MB / 1.44 GB, free: 11.73 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/1.035, allocations: 0.7027 MB / 1.441 GB, free: 11.02 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008576/1.036, allocations: 425.1 kB / 1.441 GB, free: 10.6 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 5.506e-05/1.036, allocations: 8.656 kB / 1.441 GB, free: 10.59 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000885/1.037, allocations: 440.1 kB / 1.442 GB, free: 10.15 MB / 1.139 GB Notification: Performance of pre-optimization done (n=79): time 2.624e-06/1.037, allocations: 7.938 kB / 1.442 GB, free: 10.14 MB / 1.139 GB Notification: Performance of matching and sorting (n=79): time 0.006374/1.044, allocations: 2.116 MB / 1.444 GB, free: 7.977 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.3e-05/1.044, allocations: 89.7 kB / 1.444 GB, free: 7.871 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003547/1.047, allocations: 3.2 MB / 1.447 GB, free: 4.645 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 7.294e-05/1.047, allocations: 49.69 kB / 1.447 GB, free: 4.59 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008903/1.048, allocations: 0.9606 MB / 1.448 GB, free: 3.621 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/1.049, allocations: 273.8 kB / 1.448 GB, free: 3.352 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002448/1.049, allocations: 150.7 kB / 1.448 GB, free: 3.199 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001535/1.049, allocations: 337.9 kB / 1.449 GB, free: 2.863 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007485/1.05, allocations: 313.8 kB / 1.449 GB, free: 2.559 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008622/1.051, allocations: 466.6 kB / 1.449 GB, free: 2.051 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001445/1.052, allocations: 0.7343 MB / 1.45 GB, free: 1.27 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/1.052, allocations: 4 kB / 1.45 GB, free: 1.266 MB / 1.139 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002514/1.055, allocations: 1.247 MB / 1.451 GB, free: 4 kB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/1.055, allocations: 4 kB / 1.451 GB, free: 0 / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.331e-05/1.055, allocations: 4.266 kB / 1.451 GB, free: 15.99 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009899/1.056, allocations: 327.7 kB / 1.452 GB, free: 15.68 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000492/1.056, allocations: 127.8 kB / 1.452 GB, free: 15.55 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006474/1.063, allocations: 4.068 MB / 1.456 GB, free: 11.35 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005999/1.063, allocations: 115.3 kB / 1.456 GB, free: 11.24 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.953e-05/1.063, allocations: 28 kB / 1.456 GB, free: 11.21 MB / 1.154 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.0007835/1.064, allocations: 0.5912 MB / 1.457 GB, free: 10.61 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002379/1.064, allocations: 222.5 kB / 1.457 GB, free: 10.39 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003711/1.065, allocations: 249.5 kB / 1.457 GB, free: 10.14 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/1.065, allocations: 15.92 kB / 1.457 GB, free: 10.13 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/1.065, allocations: 0 / 1.457 GB, free: 10.13 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/1.065, allocations: 3.984 kB / 1.457 GB, free: 10.12 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004075/1.069, allocations: 2.405 MB / 1.459 GB, free: 7.652 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/1.069, allocations: 3.938 kB / 1.459 GB, free: 7.648 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003305/1.069, allocations: 67.89 kB / 1.459 GB, free: 7.582 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000948/1.07, allocations: 349.7 kB / 1.46 GB, free: 7.234 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-05/1.07, allocations: 15.98 kB / 1.46 GB, free: 7.219 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007325/1.078, allocations: 5.555 MB / 1.465 GB, free: 1.383 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/1.078, allocations: 4.172 kB / 1.465 GB, free: 1.379 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003054/1.081, allocations: 1.582 MB / 1.467 GB, free: 15.78 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004449/1.081, allocations: 323.5 kB / 1.467 GB, free: 15.44 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/1.081, allocations: 27.92 kB / 1.467 GB, free: 15.41 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004829/1.082, allocations: 47.89 kB / 1.467 GB, free: 15.37 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002274/1.082, allocations: 96.52 kB / 1.467 GB, free: 15.27 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.449e-05/1.082, allocations: 27.98 kB / 1.467 GB, free: 15.24 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002737/1.085, allocations: 2.337 MB / 1.47 GB, free: 12.89 MB / 1.17 GB Notification: Performance of sort global known variables: time 2.7e-07/1.085, allocations: 0 / 1.47 GB, free: 12.89 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001004/1.086, allocations: 319.5 kB / 1.47 GB, free: 12.58 MB / 1.17 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.005061/1.091, allocations: 2.539 MB / 1.472 GB, free: 10.2 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00222/1.093, allocations: 1.027 MB / 1.473 GB, free: 9.152 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.093, allocations: 0 / 1.473 GB, free: 9.152 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001506/1.095, allocations: 0.7738 MB / 1.474 GB, free: 8.352 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/1.096, allocations: 303.2 kB / 1.474 GB, free: 8.062 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02039/1.116, allocations: 13.92 MB / 1.488 GB, free: 9.879 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001314/1.118, allocations: 1.536 MB / 1.489 GB, free: 8.309 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003933/1.118, allocations: 127.2 kB / 1.49 GB, free: 8.18 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008875/1.119, allocations: 0.7688 MB / 1.49 GB, free: 7.41 MB / 1.186 GB Notification: Performance of SimCode: time 4.31e-07/1.119, allocations: 0 / 1.49 GB, free: 7.41 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07642/1.196, allocations: 35.98 MB / 1.525 GB, free: 3.852 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.16/16.36, allocations: 8 kB / 1.525 GB, free: 3.844 MB / 1.217 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 & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe 2>&1)