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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.001511/0.001511, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001632/0.001633, allocations: 192.1 kB / 16.14 MB, free: 6.656 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.363/1.363, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.667/2.667, allocations: 461.8 MB / 0.7342 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.19 kB / 0.8985 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2915, allocations: 157.4 MB / 1.052 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.1602/0.4518, allocations: 155.6 MB / 1.204 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02287/0.4747, allocations: 21.99 MB / 1.226 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001777/0.4765, allocations: 59.62 kB / 1.226 GB, free: 6 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00175/0.4783, allocations: 1.341 MB / 1.227 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001338/0.4796, allocations: 0.9654 MB / 1.228 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.4809, allocations: 0.5742 MB / 1.228 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001455/0.4824, allocations: 1.77 MB / 1.23 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009394/0.4833, allocations: 0.8807 MB / 1.231 GB, free: 452 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000715/0.4841, allocations: 0.6577 MB / 1.232 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001137/0.4852, allocations: 1.179 MB / 1.233 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001161/0.4853, allocations: 55.94 kB / 1.233 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002594/0.4856, allocations: 91.98 kB / 1.233 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003142/0.4859, allocations: 400.4 kB / 1.233 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004783/0.4864, allocations: 0.6128 MB / 1.234 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001189/0.4876, allocations: 1.529 MB / 1.235 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.4876, allocations: 0 / 1.235 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4876, allocations: 0 / 1.235 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.473e-05/0.4876, allocations: 0 / 1.235 GB, free: 11.91 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.002756/0.4904, allocations: 1.919 MB / 1.237 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.4905, allocations: 11.97 kB / 1.237 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00013/0.4906, allocations: 106.7 kB / 1.237 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002644/0.4909, allocations: 186.6 kB / 1.238 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.492, allocations: 0.8785 MB / 1.238 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.4921, allocations: 91 kB / 1.239 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.557e-05/0.4922, allocations: 64 kB / 1.239 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.4934, allocations: 0.7176 MB / 1.239 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.4935, allocations: 4 kB / 1.239 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.959e-05/0.4935, allocations: 27.98 kB / 1.239 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.4936, allocations: 16 kB / 1.239 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.4947, allocations: 0.536 MB / 1.24 GB, free: 7.211 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.004153/0.4988, allocations: 3.632 MB / 1.243 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.5001, allocations: 0.6042 MB / 1.244 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006879/0.5008, allocations: 372.2 kB / 1.244 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.581e-05/0.5009, allocations: 8.562 kB / 1.244 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007096/0.5016, allocations: 390.8 kB / 1.245 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=65): time 1.994e-06/0.5016, allocations: 0 / 1.245 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65): time 0.004672/0.5063, allocations: 1.781 MB / 1.247 GB, free: 80 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.5063, allocations: 63.91 kB / 1.247 GB, free: 4 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5023/1.009, allocations: 2.243 MB / 1.249 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001338/1.009, allocations: 41.69 kB / 1.249 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004776/1.009, allocations: 0.7243 MB / 1.25 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/1.009, allocations: 211.3 kB / 1.25 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001892/1.01, allocations: 131.6 kB / 1.25 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.781e-05/1.01, allocations: 334 kB / 1.25 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006123/1.01, allocations: 279.5 kB / 1.25 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005749/1.011, allocations: 419.5 kB / 1.251 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/1.012, allocations: 0.6658 MB / 1.251 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/1.012, allocations: 2.938 kB / 1.251 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001999/1.014, allocations: 1.11 MB / 1.253 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/1.014, allocations: 11.88 kB / 1.253 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.014, allocations: 2.469 kB / 1.253 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007378/1.015, allocations: 275.2 kB / 1.253 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003992/1.015, allocations: 123.6 kB / 1.253 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004097/1.019, allocations: 3.432 MB / 1.256 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005554/1.02, allocations: 109.1 kB / 1.256 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-05/1.02, allocations: 24.2 kB / 1.256 GB, free: 193.4 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.0005219/1.02, allocations: 458 kB / 1.257 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/1.021, allocations: 153.8 kB / 1.257 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002354/1.021, allocations: 188.1 kB / 1.257 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/1.021, allocations: 6.672 kB / 1.257 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/1.021, allocations: 7.875 kB / 1.257 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/1.021, allocations: 11.16 kB / 1.257 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003024/1.024, allocations: 2.037 MB / 1.259 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/1.024, allocations: 0.75 kB / 1.259 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002635/1.024, allocations: 62.69 kB / 1.259 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007054/1.025, allocations: 272.8 kB / 1.26 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.48e-05/1.025, allocations: 16.89 kB / 1.26 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004816/1.03, allocations: 4.767 MB / 1.264 GB, free: 190 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/1.03, allocations: 1.688 kB / 1.264 GB, free: 190 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002731/1.032, allocations: 1.396 MB / 1.266 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000318/1.033, allocations: 266.4 kB / 1.266 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/1.033, allocations: 16.88 kB / 1.266 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004324/1.033, allocations: 45.48 kB / 1.266 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001809/1.034, allocations: 66.77 kB / 1.266 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-05/1.034, allocations: 21.73 kB / 1.266 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001858/1.035, allocations: 1.631 MB / 1.268 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.102e-06/1.036, allocations: 0 / 1.268 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009864/1.036, allocations: 292.1 kB / 1.268 GB, free: 189.4 MB / 0.9981 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.004138/1.041, allocations: 2.316 MB / 1.27 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001893/1.043, allocations: 0.9066 MB / 1.271 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.043, allocations: 0 / 1.271 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001007/1.044, allocations: 0.6781 MB / 1.272 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/1.045, allocations: 270.8 kB / 1.272 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01719/1.062, allocations: 12.41 MB / 1.284 GB, free: 181 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009893/1.063, allocations: 1.322 MB / 1.285 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005313/1.064, allocations: 122.7 kB / 1.285 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005184/1.064, allocations: 0.5397 MB / 1.286 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.082e-06/1.064, allocations: 0 / 1.286 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03993/1.104, allocations: 27.65 MB / 1.313 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/1.104, allocations: 303.9 kB / 1.313 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.301/3.405, allocations: 3.5 kB / 1.313 GB, free: 157.6 MB / 0.9981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1)