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.001604/0.001604, allocations: 108 kB / 15.6 MB, free: 132 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.001474/0.001475, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.351/1.351, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.75/2.75, allocations: 469.8 MB / 0.7424 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002399/0.002399, allocations: 67.5 kB / 0.9087 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2674, allocations: 159.1 MB / 1.064 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11): time 0.1782/0.4456, allocations: 158.3 MB / 1.219 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0272/0.4729, allocations: 22.23 MB / 1.24 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001781/0.4747, allocations: 63.69 kB / 1.24 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002657/0.4774, allocations: 1.987 MB / 1.242 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002289/0.4797, allocations: 1.324 MB / 1.244 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001788/0.4815, allocations: 0.6807 MB / 1.244 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002414/0.4839, allocations: 1.95 MB / 1.246 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001689/0.4856, allocations: 1.148 MB / 1.247 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001257/0.4869, allocations: 0.8956 MB / 1.248 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4449/0.9318, allocations: 1.441 MB / 1.25 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003252/0.9321, allocations: 106.6 kB / 1.25 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004063/0.9326, allocations: 149.9 kB / 1.25 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004131/0.933, allocations: 0.5211 MB / 1.25 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006919/0.9337, allocations: 0.8239 MB / 1.251 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001518/0.9352, allocations: 1.93 MB / 1.253 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.9352, allocations: 0.5 kB / 1.253 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9352, allocations: 2.656 kB / 1.253 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.274e-05/0.9353, allocations: 0 / 1.253 GB, free: 8.918 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.002683/0.9379, allocations: 2.377 MB / 1.255 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.938, allocations: 11.7 kB / 1.255 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001123/0.9381, allocations: 124.9 kB / 1.256 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002795/0.9384, allocations: 245.5 kB / 1.256 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.9394, allocations: 1.045 MB / 1.257 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.9395, allocations: 105.7 kB / 1.257 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.341e-05/0.9396, allocations: 86.7 kB / 1.257 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.9407, allocations: 0.8638 MB / 1.258 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.9408, allocations: 4.75 kB / 1.258 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.903e-05/0.9408, allocations: 28.89 kB / 1.258 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.9409, allocations: 21.25 kB / 1.258 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.942, allocations: 0.6505 MB / 1.259 GB, free: 6.738 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.003997/0.946, allocations: 4.187 MB / 1.263 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.9471, allocations: 0.7068 MB / 1.263 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006318/0.9478, allocations: 413.7 kB / 1.264 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.254e-05/0.9478, allocations: 10.5 kB / 1.264 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006677/0.9485, allocations: 433 kB / 1.264 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=79): time 2.084e-06/0.9485, allocations: 0.875 kB / 1.264 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of matching and sorting (n=79): time 0.005088/0.9536, allocations: 2.106 MB / 1.266 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.9537, allocations: 92.77 kB / 1.266 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002942/0.9566, allocations: 3.206 MB / 1.269 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.989e-05/0.9567, allocations: 46.84 kB / 1.269 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005684/0.9572, allocations: 0.9619 MB / 1.27 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.9574, allocations: 252.6 kB / 1.271 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/0.9576, allocations: 157.1 kB / 1.271 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.318e-05/0.9576, allocations: 336.3 kB / 1.271 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006129/0.9583, allocations: 316.9 kB / 1.271 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006761/0.9589, allocations: 468.5 kB / 1.272 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.9602, allocations: 0.7311 MB / 1.273 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.9602, allocations: 2.062 kB / 1.273 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002273/0.9625, allocations: 1.236 MB / 1.274 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.9625, allocations: 5.469 kB / 1.274 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.9625, allocations: 5.594 kB / 1.274 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008458/0.9634, allocations: 332.8 kB / 1.274 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004112/0.9638, allocations: 125.7 kB / 1.274 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4175/1.381, allocations: 4.07 MB / 1.278 GB, free: 17.21 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/1.383, allocations: 109.5 kB / 1.278 GB, free: 17.17 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-05/1.383, allocations: 32.19 kB / 1.278 GB, free: 17.17 MB / 1.014 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.001137/1.384, allocations: 0.595 MB / 1.279 GB, free: 17.04 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002317/1.384, allocations: 205.1 kB / 1.279 GB, free: 16.93 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003869/1.384, allocations: 252.1 kB / 1.279 GB, free: 16.91 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/1.384, allocations: 8.656 kB / 1.279 GB, free: 16.91 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/1.384, allocations: 1.031 kB / 1.279 GB, free: 16.91 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/1.384, allocations: 4.297 kB / 1.279 GB, free: 16.91 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004284/1.389, allocations: 2.406 MB / 1.282 GB, free: 16.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/1.389, allocations: 4.062 kB / 1.282 GB, free: 16.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003403/1.389, allocations: 69.53 kB / 1.282 GB, free: 16.52 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000988/1.39, allocations: 341.8 kB / 1.282 GB, free: 16.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.613e-05/1.39, allocations: 21 kB / 1.282 GB, free: 16.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007493/1.398, allocations: 5.551 MB / 1.288 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/1.398, allocations: 0.8125 kB / 1.288 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002994/1.401, allocations: 1.578 MB / 1.289 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004009/1.401, allocations: 321.8 kB / 1.289 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001827/1.401, allocations: 16.56 kB / 1.289 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005514/1.402, allocations: 48.08 kB / 1.289 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002103/1.402, allocations: 100.8 kB / 1.29 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.077e-05/1.402, allocations: 29.06 kB / 1.29 GB, free: 12.89 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002559/1.405, allocations: 2.335 MB / 1.292 GB, free: 12.74 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.405, allocations: 0 / 1.292 GB, free: 12.74 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001083/1.406, allocations: 316.3 kB / 1.292 GB, free: 12.71 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: 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.005138/1.411, allocations: 2.52 MB / 1.295 GB, free: 11.82 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002527/1.413, allocations: 1.091 MB / 1.296 GB, free: 11.65 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/1.413, allocations: 0 / 1.296 GB, free: 11.65 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00147/1.415, allocations: 0.7807 MB / 1.296 GB, free: 11.39 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/1.416, allocations: 305.2 kB / 1.297 GB, free: 11.35 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02063/1.437, allocations: 15.71 MB / 1.312 GB, free: 5.148 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001211/1.438, allocations: 1.529 MB / 1.314 GB, free: 4.414 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0004567/1.439, allocations: 140.1 kB / 1.314 GB, free: 4.379 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006849/1.44, allocations: 0.7606 MB / 1.314 GB, free: 4.371 MB / 1.014 GB Notification: Performance of SimCode: time 3.51e-07/1.44, allocations: 0 / 1.314 GB, free: 4.371 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.32/3.759, allocations: 35.32 MB / 1.349 GB, free: 10.64 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.67/21.43, allocations: 11.64 kB / 1.349 GB, free: 10.63 MB / 1.029 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11_fmu --startTime=0 --stopTime=5.184e+06 --timeout=400 --tolerance=1e-07 Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11.fmu > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe 2>&1)