Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.TestCase7,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7",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.00641/0.00641, allocations: 98.72 kB / 15.73 MB, free: 6.004 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.00149/0.00149, allocations: 193 kB / 16.67 MB, free: 5.93 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: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.682/2.682, allocations: 469.4 MB / 0.7422 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 67.89 kB / 1.064 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8049/0.8063, allocations: 159.1 MB / 1.22 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.1699/0.9762, allocations: 157.9 MB / 1.374 GB, free: 3.785 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02652/1.003, allocations: 22.14 MB / 1.396 GB, free: 13.58 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002246/1.005, allocations: 67.62 kB / 1.396 GB, free: 13.52 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002075/1.007, allocations: 1.379 MB / 1.397 GB, free: 12.13 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002189/1.009, allocations: 1.031 MB / 1.398 GB, free: 11.1 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002025/1.011, allocations: 0.6497 MB / 1.399 GB, free: 10.45 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002057/1.014, allocations: 1.696 MB / 1.4 GB, free: 8.75 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001678/1.015, allocations: 0.9551 MB / 1.401 GB, free: 7.77 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001399/1.017, allocations: 0.7475 MB / 1.402 GB, free: 7.02 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001642/1.018, allocations: 1.197 MB / 1.403 GB, free: 5.824 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002341/1.019, allocations: 88 kB / 1.403 GB, free: 5.738 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004117/1.019, allocations: 143.9 kB / 1.403 GB, free: 5.598 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003819/1.019, allocations: 416.3 kB / 1.404 GB, free: 5.191 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0007355/1.02, allocations: 0.6597 MB / 1.404 GB, free: 4.527 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001934/1.022, allocations: 1.603 MB / 1.406 GB, free: 2.918 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/1.022, allocations: 0 / 1.406 GB, free: 2.918 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.713e-06/1.022, allocations: 0 / 1.406 GB, free: 2.918 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.659e-05/1.022, allocations: 4 kB / 1.406 GB, free: 2.914 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.003457/1.026, allocations: 1.972 MB / 1.408 GB, free: 0.8789 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/1.026, allocations: 12.62 kB / 1.408 GB, free: 0.8672 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001567/1.026, allocations: 106.7 kB / 1.408 GB, free: 0.7539 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000353/1.026, allocations: 199.7 kB / 1.408 GB, free: 0.5586 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/1.028, allocations: 0.8958 MB / 1.409 GB, free: 15.62 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/1.028, allocations: 91 kB / 1.409 GB, free: 15.52 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/1.028, allocations: 67.98 kB / 1.409 GB, free: 15.46 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/1.029, allocations: 0.7137 MB / 1.41 GB, free: 14.71 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/1.029, allocations: 7.984 kB / 1.41 GB, free: 14.71 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.788e-05/1.029, allocations: 28 kB / 1.41 GB, free: 14.68 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/1.029, allocations: 16 kB / 1.41 GB, free: 14.66 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/1.031, allocations: 0.5476 MB / 1.41 GB, free: 14.12 MB / 1.139 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.004708/1.035, allocations: 3.61 MB / 1.414 GB, free: 10.22 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/1.037, allocations: 0.6194 MB / 1.415 GB, free: 9.594 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007441/1.037, allocations: 379.9 kB / 1.415 GB, free: 9.223 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 4.411e-05/1.038, allocations: 8.5 kB / 1.415 GB, free: 9.215 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00074/1.038, allocations: 378.9 kB / 1.415 GB, free: 8.836 MB / 1.139 GB Notification: Performance of pre-optimization done (n=65): time 2.194e-06/1.038, allocations: 4 kB / 1.415 GB, free: 8.832 MB / 1.139 GB Notification: Performance of matching and sorting (n=65): time 0.004975/1.043, allocations: 1.785 MB / 1.417 GB, free: 6.996 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/1.043, allocations: 63.97 kB / 1.417 GB, free: 6.922 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002312/1.046, allocations: 2.259 MB / 1.419 GB, free: 4.656 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 5.71e-05/1.046, allocations: 41.7 kB / 1.419 GB, free: 4.609 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005726/1.046, allocations: 0.7231 MB / 1.42 GB, free: 3.883 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/1.047, allocations: 222.1 kB / 1.42 GB, free: 3.664 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/1.047, allocations: 130.7 kB / 1.42 GB, free: 3.531 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001221/1.047, allocations: 334 kB / 1.421 GB, free: 3.199 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006402/1.047, allocations: 281.8 kB / 1.421 GB, free: 2.922 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007277/1.048, allocations: 416.8 kB / 1.421 GB, free: 2.465 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/1.049, allocations: 0.6719 MB / 1.422 GB, free: 1.742 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/1.049, allocations: 0 / 1.422 GB, free: 1.742 MB / 1.139 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002321/1.052, allocations: 1.123 MB / 1.423 GB, free: 0.6094 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/1.052, allocations: 8 kB / 1.423 GB, free: 0.6016 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/1.052, allocations: 7.938 kB / 1.423 GB, free: 0.5938 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008145/1.053, allocations: 265.6 kB / 1.423 GB, free: 340 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004496/1.053, allocations: 127.8 kB / 1.424 GB, free: 212 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00543/1.059, allocations: 3.703 MB / 1.427 GB, free: 12.37 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005841/1.059, allocations: 87.53 kB / 1.427 GB, free: 12.29 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.365e-05/1.059, allocations: 28 kB / 1.427 GB, free: 12.26 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 25 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0005631/1.06, allocations: 466.2 kB / 1.428 GB, free: 11.8 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/1.06, allocations: 162.9 kB / 1.428 GB, free: 11.64 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002819/1.06, allocations: 187.7 kB / 1.428 GB, free: 11.45 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/1.06, allocations: 11.94 kB / 1.428 GB, free: 11.43 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/1.06, allocations: 0 / 1.428 GB, free: 11.43 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/1.06, allocations: 7.984 kB / 1.428 GB, free: 11.43 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003702/1.064, allocations: 2.049 MB / 1.43 GB, free: 9.309 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/1.064, allocations: 0 / 1.43 GB, free: 9.309 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000293/1.064, allocations: 55.91 kB / 1.43 GB, free: 9.254 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007863/1.065, allocations: 275.1 kB / 1.43 GB, free: 8.98 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-05/1.065, allocations: 19.98 kB / 1.43 GB, free: 8.961 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00622/1.071, allocations: 5.244 MB / 1.435 GB, free: 3.441 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/1.071, allocations: 3.938 kB / 1.436 GB, free: 3.438 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002717/1.074, allocations: 1.41 MB / 1.437 GB, free: 2.008 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004233/1.075, allocations: 267.9 kB / 1.437 GB, free: 1.727 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/1.075, allocations: 16 kB / 1.437 GB, free: 1.711 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004513/1.075, allocations: 43.95 kB / 1.437 GB, free: 1.668 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/1.075, allocations: 64.47 kB / 1.437 GB, free: 1.605 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.348e-05/1.076, allocations: 28.11 kB / 1.437 GB, free: 1.578 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.00186/1.077, allocations: 1.627 MB / 1.439 GB, free: 15.96 MB / 1.17 GB Notification: Performance of sort global known variables: time 4.01e-07/1.077, allocations: 0 / 1.439 GB, free: 15.96 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009525/1.078, allocations: 275.6 kB / 1.439 GB, free: 15.69 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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 {(2,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004207/1.083, allocations: 2.351 MB / 1.441 GB, free: 13.49 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002031/1.085, allocations: 0.915 MB / 1.442 GB, free: 12.56 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.085, allocations: 0 / 1.442 GB, free: 12.56 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001165/1.086, allocations: 0.6789 MB / 1.443 GB, free: 11.86 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/1.087, allocations: 280.5 kB / 1.443 GB, free: 11.6 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01765/1.105, allocations: 11.04 MB / 1.454 GB, free: 272 kB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/1.106, allocations: 1.314 MB / 1.455 GB, free: 14.92 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003956/1.106, allocations: 118.4 kB / 1.455 GB, free: 14.8 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006229/1.107, allocations: 0.5422 MB / 1.456 GB, free: 14.26 MB / 1.186 GB Notification: Performance of SimCode: time 7.22e-07/1.107, allocations: 0 / 1.456 GB, free: 14.26 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06142/1.168, allocations: 29.21 MB / 1.484 GB, free: 1.457 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.16/15.33, allocations: 10.17 kB / 1.484 GB, free: 1.449 MB / 1.201 GB (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7_res.csv --start-time 0 --stop-time 5.184e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 60 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1)