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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001679/0.001679, allocations: 108 kB / 15.61 MB, free: 152 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.001352/0.001352, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.271/1.271, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.604/2.604, allocations: 469.4 MB / 0.742 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 67.25 kB / 0.9083 GB, free: 34.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3007, allocations: 159.1 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.1831/0.4838, allocations: 157.9 MB / 1.218 GB, free: 56 kB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02996/0.5138, allocations: 22.13 MB / 1.239 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002277/0.5161, allocations: 63.69 kB / 1.24 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002203/0.5184, allocations: 1.383 MB / 1.241 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001932/0.5203, allocations: 1.016 MB / 1.242 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001737/0.5221, allocations: 0.6477 MB / 1.242 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002192/0.5243, allocations: 1.688 MB / 1.244 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001418/0.5257, allocations: 0.9667 MB / 1.245 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001085/0.5268, allocations: 0.7242 MB / 1.246 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/0.5283, allocations: 1.195 MB / 1.247 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002008/0.5285, allocations: 96 kB / 1.247 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003815/0.5289, allocations: 140 kB / 1.247 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003963/0.5293, allocations: 416.3 kB / 1.248 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006529/0.53, allocations: 0.648 MB / 1.248 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.604/1.134, allocations: 1.565 MB / 1.25 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.192e-05/1.134, allocations: 0 / 1.25 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.514e-06/1.134, allocations: 0 / 1.25 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.344e-05/1.134, allocations: 0.7812 kB / 1.25 GB, free: 10.09 MB / 0.9981 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.004081/1.138, allocations: 1.918 MB / 1.252 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/1.138, allocations: 10.38 kB / 1.252 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001394/1.139, allocations: 107.3 kB / 1.252 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000373/1.139, allocations: 185.2 kB / 1.252 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/1.14, allocations: 0.8759 MB / 1.253 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001572/1.14, allocations: 88.12 kB / 1.253 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/1.14, allocations: 67.03 kB / 1.253 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/1.142, allocations: 0.7198 MB / 1.254 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/1.142, allocations: 2.031 kB / 1.254 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.267e-05/1.142, allocations: 28.28 kB / 1.254 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/1.142, allocations: 17.14 kB / 1.254 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/1.143, allocations: 0.5424 MB / 1.254 GB, free: 8.363 MB / 0.9981 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.00481/1.148, allocations: 3.623 MB / 1.258 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/1.149, allocations: 0.6185 MB / 1.258 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007806/1.15, allocations: 370.5 kB / 1.259 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.645e-05/1.15, allocations: 11.09 kB / 1.259 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007806/1.151, allocations: 387.1 kB / 1.259 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=65): time 2.104e-06/1.151, allocations: 0 / 1.259 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65): time 0.00547/1.157, allocations: 1.776 MB / 1.261 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/1.157, allocations: 62.17 kB / 1.261 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002278/1.159, allocations: 2.251 MB / 1.263 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.531e-05/1.159, allocations: 40.38 kB / 1.263 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005193/1.16, allocations: 0.7241 MB / 1.264 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/1.16, allocations: 209.1 kB / 1.264 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/1.16, allocations: 127.7 kB / 1.264 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.918e-05/1.16, allocations: 341.5 kB / 1.264 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006931/1.161, allocations: 274 kB / 1.265 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006832/1.161, allocations: 427.3 kB / 1.265 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/1.163, allocations: 0.6575 MB / 1.266 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/1.163, allocations: 3.438 kB / 1.266 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002325/1.165, allocations: 1.117 MB / 1.267 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/1.165, allocations: 9.5 kB / 1.267 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/1.165, allocations: 4.625 kB / 1.267 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009902/1.166, allocations: 277.6 kB / 1.267 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005227/1.167, allocations: 120.2 kB / 1.267 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005533/1.172, allocations: 3.702 MB / 1.271 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006436/1.173, allocations: 94.45 kB / 1.271 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.214e-05/1.173, allocations: 30 kB / 1.271 GB, free: 3.133 MB / 0.9981 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.0007251/1.174, allocations: 468.4 kB / 1.271 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/1.174, allocations: 156.1 kB / 1.272 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003305/1.174, allocations: 187.2 kB / 1.272 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/1.174, allocations: 9.828 kB / 1.272 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/1.174, allocations: 0 / 1.272 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/1.174, allocations: 4.469 kB / 1.272 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004699/1.179, allocations: 2.039 MB / 1.274 GB, free: 18.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/1.179, allocations: 2.969 kB / 1.274 GB, free: 18.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003473/1.179, allocations: 58.11 kB / 1.274 GB, free: 18.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009169/1.18, allocations: 277.9 kB / 1.274 GB, free: 18.52 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.574e-05/1.18, allocations: 23.06 kB / 1.274 GB, free: 18.52 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00726/1.188, allocations: 5.232 MB / 1.279 GB, free: 15.48 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/1.188, allocations: 7.594 kB / 1.279 GB, free: 15.47 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003144/1.191, allocations: 1.395 MB / 1.281 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004037/1.191, allocations: 261.7 kB / 1.281 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/1.191, allocations: 21.67 kB / 1.281 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004408/1.192, allocations: 38.47 kB / 1.281 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001883/1.192, allocations: 71.7 kB / 1.281 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.568e-05/1.192, allocations: 21.23 kB / 1.281 GB, free: 15.02 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002195/1.194, allocations: 1.636 MB / 1.283 GB, free: 14.91 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.22e-07/1.194, allocations: 0 / 1.283 GB, free: 14.91 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00123/1.195, allocations: 273.1 kB / 1.283 GB, free: 14.88 MB / 1.014 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.004445/1.2, allocations: 2.331 MB / 1.285 GB, free: 14.04 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002729/1.203, allocations: 0.9639 MB / 1.286 GB, free: 13.88 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/1.203, allocations: 1.094 kB / 1.286 GB, free: 13.88 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001294/1.204, allocations: 0.6751 MB / 1.287 GB, free: 13.62 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/1.205, allocations: 283.4 kB / 1.287 GB, free: 13.59 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01838/1.224, allocations: 12.02 MB / 1.299 GB, free: 9.277 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/1.225, allocations: 1.317 MB / 1.3 GB, free: 8.559 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0004996/1.225, allocations: 115.1 kB / 1.3 GB, free: 8.531 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005214/1.226, allocations: 0.5455 MB / 1.301 GB, free: 8.52 MB / 1.014 GB Notification: Performance of SimCode: time 7.41e-07/1.226, allocations: 0 / 1.301 GB, free: 8.52 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.052/1.278, allocations: 28.7 MB / 1.329 GB, free: 3.48 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.76, allocations: 6.797 kB / 1.329 GB, free: 3.48 MB / 1.014 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)