Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11,fileNamePrefix="Buildings_10_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.004783/0.004783, allocations: 98.88 kB / 15.73 MB, free: 6.008 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.001277/0.001277, allocations: 189.9 kB / 16.67 MB, free: 5.926 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.574/2.574, allocations: 437 MB / 0.7105 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002866/0.002866, allocations: 72.11 kB / 1.018 GB, free: 9.938 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7732/0.776, allocations: 151.6 MB / 1.166 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11): time 0.1802/0.9563, allocations: 158.3 MB / 1.321 GB, free: 4.906 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02772/0.9841, allocations: 22.24 MB / 1.342 GB, free: 14.59 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001924/0.986, allocations: 63.69 kB / 1.343 GB, free: 14.53 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002471/0.9886, allocations: 1.979 MB / 1.344 GB, free: 12.55 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002057/0.9906, allocations: 1.327 MB / 1.346 GB, free: 11.21 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001696/0.9923, allocations: 0.6843 MB / 1.346 GB, free: 10.54 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002311/0.9947, allocations: 1.962 MB / 1.348 GB, free: 8.57 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001575/0.9962, allocations: 1.144 MB / 1.349 GB, free: 7.398 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.9974, allocations: 0.8917 MB / 1.35 GB, free: 6.504 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001792/0.9992, allocations: 1.442 MB / 1.352 GB, free: 5.059 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002206/0.9995, allocations: 108 kB / 1.352 GB, free: 4.953 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004113/0.9999, allocations: 159.9 kB / 1.352 GB, free: 4.797 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004632/1, allocations: 0.5156 MB / 1.352 GB, free: 4.281 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0007735/1.001, allocations: 0.8263 MB / 1.353 GB, free: 3.449 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00229/1.003, allocations: 1.992 MB / 1.355 GB, free: 1.449 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/1.003, allocations: 4 kB / 1.355 GB, free: 1.445 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.463e-06/1.003, allocations: 0 / 1.355 GB, free: 1.445 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.304e-05/1.004, allocations: 0 / 1.355 GB, free: 1.445 MB / 1.076 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.003792/1.007, allocations: 2.458 MB / 1.358 GB, free: 14.93 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/1.007, allocations: 12.92 kB / 1.358 GB, free: 14.91 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001719/1.008, allocations: 123 kB / 1.358 GB, free: 14.79 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004293/1.008, allocations: 259.3 kB / 1.358 GB, free: 14.53 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/1.01, allocations: 1.083 MB / 1.359 GB, free: 13.38 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001643/1.01, allocations: 99.69 kB / 1.359 GB, free: 13.28 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/1.01, allocations: 84 kB / 1.359 GB, free: 13.2 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/1.012, allocations: 0.8651 MB / 1.36 GB, free: 12.3 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/1.012, allocations: 3.953 kB / 1.36 GB, free: 12.3 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.849e-05/1.012, allocations: 32 kB / 1.36 GB, free: 12.27 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/1.012, allocations: 20 kB / 1.36 GB, free: 12.25 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/1.013, allocations: 0.648 MB / 1.361 GB, free: 11.6 MB / 1.092 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.005895/1.019, allocations: 4.158 MB / 1.365 GB, free: 7.133 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/1.021, allocations: 0.7104 MB / 1.366 GB, free: 6.414 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008501/1.021, allocations: 411.3 kB / 1.366 GB, free: 6.012 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 7.79e-05/1.022, allocations: 24.61 kB / 1.366 GB, free: 5.988 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008989/1.022, allocations: 440.1 kB / 1.366 GB, free: 5.547 MB / 1.092 GB Notification: Performance of pre-optimization done (n=79): time 2.705e-06/1.022, allocations: 0 / 1.366 GB, free: 5.547 MB / 1.092 GB Notification: Performance of matching and sorting (n=79): time 0.006513/1.029, allocations: 2.112 MB / 1.368 GB, free: 3.383 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.88e-05/1.029, allocations: 89.75 kB / 1.369 GB, free: 3.277 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003781/1.033, allocations: 3.2 MB / 1.372 GB, free: 52 kB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001216/1.033, allocations: 49.78 kB / 1.372 GB, free: 15.99 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009323/1.034, allocations: 0.9643 MB / 1.373 GB, free: 15.02 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002725/1.034, allocations: 269.8 kB / 1.373 GB, free: 14.76 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002649/1.035, allocations: 154.7 kB / 1.373 GB, free: 14.6 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001614/1.035, allocations: 337.9 kB / 1.373 GB, free: 14.26 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007586/1.035, allocations: 317.8 kB / 1.374 GB, free: 13.95 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008727/1.036, allocations: 465.3 kB / 1.374 GB, free: 13.45 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/1.038, allocations: 0.7383 MB / 1.375 GB, free: 12.66 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-06/1.038, allocations: 0 / 1.375 GB, free: 12.66 MB / 1.107 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00264/1.04, allocations: 1.251 MB / 1.376 GB, free: 11.4 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/1.041, allocations: 10.5 kB / 1.376 GB, free: 11.39 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/1.041, allocations: 7.984 kB / 1.376 GB, free: 11.38 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/1.042, allocations: 319.6 kB / 1.376 GB, free: 11.07 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005101/1.042, allocations: 135.7 kB / 1.377 GB, free: 10.94 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006534/1.049, allocations: 4.071 MB / 1.38 GB, free: 6.73 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000756/1.049, allocations: 119.3 kB / 1.381 GB, free: 6.613 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-05/1.049, allocations: 28 kB / 1.381 GB, free: 6.586 MB / 1.107 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.0008604/1.05, allocations: 0.5834 MB / 1.381 GB, free: 5.996 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002637/1.051, allocations: 218.5 kB / 1.381 GB, free: 5.781 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000394/1.051, allocations: 249.5 kB / 1.382 GB, free: 5.535 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/1.051, allocations: 12 kB / 1.382 GB, free: 5.523 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/1.051, allocations: 0 / 1.382 GB, free: 5.523 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/1.051, allocations: 7.984 kB / 1.382 GB, free: 5.516 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004164/1.055, allocations: 2.405 MB / 1.384 GB, free: 3.047 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/1.055, allocations: 0 / 1.384 GB, free: 3.047 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003369/1.056, allocations: 67.89 kB / 1.384 GB, free: 2.98 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009836/1.057, allocations: 349.4 kB / 1.384 GB, free: 2.633 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.695e-05/1.057, allocations: 23.92 kB / 1.384 GB, free: 2.609 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007601/1.064, allocations: 5.538 MB / 1.39 GB, free: 12.79 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.064, allocations: 3.938 kB / 1.39 GB, free: 12.79 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00311/1.067, allocations: 1.589 MB / 1.391 GB, free: 11.18 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005564/1.068, allocations: 323.5 kB / 1.392 GB, free: 10.84 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/1.068, allocations: 23.94 kB / 1.392 GB, free: 10.82 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004841/1.069, allocations: 51.89 kB / 1.392 GB, free: 10.77 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002368/1.069, allocations: 92.52 kB / 1.392 GB, free: 10.68 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-05/1.069, allocations: 31.98 kB / 1.392 GB, free: 10.64 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002844/1.072, allocations: 2.33 MB / 1.394 GB, free: 8.301 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.01e-07/1.072, allocations: 0 / 1.394 GB, free: 8.301 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001194/1.073, allocations: 327.5 kB / 1.394 GB, free: 7.98 MB / 1.123 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.005235/1.078, allocations: 2.53 MB / 1.397 GB, free: 5.598 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002326/1.081, allocations: 1.035 MB / 1.398 GB, free: 4.551 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.081, allocations: 0 / 1.398 GB, free: 4.551 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001573/1.082, allocations: 0.7814 MB / 1.399 GB, free: 3.742 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/1.084, allocations: 293.5 kB / 1.399 GB, free: 3.461 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02165/1.105, allocations: 13.92 MB / 1.413 GB, free: 5.273 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001378/1.107, allocations: 1.524 MB / 1.414 GB, free: 3.719 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0004591/1.107, allocations: 135.2 kB / 1.414 GB, free: 3.582 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000911/1.108, allocations: 0.7686 MB / 1.415 GB, free: 2.812 MB / 1.139 GB Notification: Performance of SimCode: time 6.01e-07/1.108, allocations: 0 / 1.415 GB, free: 2.812 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08186/1.19, allocations: 35.98 MB / 1.45 GB, free: 15.08 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.25/17.44, allocations: 12.52 kB / 1.45 GB, free: 15.07 MB / 1.186 GB (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11_res.csv --start-time 0 --stop-time 5.184e+06 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 60 Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11.fmu > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe 2>&1)