Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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.TestCase5,fileNamePrefix="Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,fileNamePrefix="Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",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.006616/0.006616, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001623/0.001623, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.641/2.641, allocations: 469.8 MB / 0.7425 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 64.11 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2904, allocations: 159.1 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.6875/0.9779, allocations: 157.3 MB / 1.374 GB, free: 10.21 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02387/1.002, allocations: 22 MB / 1.395 GB, free: 8.914 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001489/1.003, allocations: 60.03 kB / 1.395 GB, free: 8.891 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002296/1.006, allocations: 2.147 MB / 1.397 GB, free: 7.828 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001773/1.007, allocations: 1.422 MB / 1.399 GB, free: 7.008 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001237/1.009, allocations: 0.5866 MB / 1.399 GB, free: 6.551 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001674/1.01, allocations: 1.829 MB / 1.401 GB, free: 5.551 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001159/1.012, allocations: 1.078 MB / 1.402 GB, free: 4.887 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008804/1.012, allocations: 0.8773 MB / 1.403 GB, free: 4.43 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001461/1.014, allocations: 1.543 MB / 1.405 GB, free: 3.766 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001424/1.014, allocations: 90.75 kB / 1.405 GB, free: 3.766 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002734/1.014, allocations: 132.9 kB / 1.405 GB, free: 3.75 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004175/1.015, allocations: 0.5202 MB / 1.405 GB, free: 3.426 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0006527/1.015, allocations: 0.7707 MB / 1.406 GB, free: 2.836 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001712/1.017, allocations: 1.876 MB / 1.408 GB, free: 1.547 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/1.017, allocations: 0 / 1.408 GB, free: 1.547 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.212e-06/1.017, allocations: 0 / 1.408 GB, free: 1.547 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.099e-05/1.017, allocations: 0 / 1.408 GB, free: 1.547 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.003049/1.02, allocations: 2.355 MB / 1.41 GB, free: 15.73 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/1.02, allocations: 9.438 kB / 1.41 GB, free: 15.73 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001197/1.02, allocations: 109.8 kB / 1.41 GB, free: 15.64 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002366/1.021, allocations: 245.5 kB / 1.411 GB, free: 15.5 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/1.022, allocations: 1.033 MB / 1.412 GB, free: 14.67 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/1.022, allocations: 86.25 kB / 1.412 GB, free: 14.62 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.455e-05/1.022, allocations: 66.11 kB / 1.412 GB, free: 14.59 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/1.023, allocations: 0.7278 MB / 1.412 GB, free: 14.16 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/1.023, allocations: 0 / 1.412 GB, free: 14.16 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.895e-05/1.023, allocations: 30.44 kB / 1.412 GB, free: 14.14 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/1.023, allocations: 14.19 kB / 1.412 GB, free: 14.14 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/1.024, allocations: 0.5941 MB / 1.413 GB, free: 13.85 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004212/1.029, allocations: 3.503 MB / 1.416 GB, free: 11 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/1.03, allocations: 0.7153 MB / 1.417 GB, free: 10.63 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006977/1.031, allocations: 411 kB / 1.418 GB, free: 10.43 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 4.343e-05/1.031, allocations: 11.94 kB / 1.418 GB, free: 10.43 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007397/1.032, allocations: 430.6 kB / 1.418 GB, free: 10.17 MB / 1.107 GB Notification: Performance of pre-optimization done (n=70): time 2.014e-06/1.032, allocations: 3.938 kB / 1.418 GB, free: 10.16 MB / 1.107 GB Notification: Performance of matching and sorting (n=70): time 0.004045/1.036, allocations: 1.813 MB / 1.42 GB, free: 8.672 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/1.036, allocations: 71.89 kB / 1.42 GB, free: 8.59 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003369/1.039, allocations: 3.308 MB / 1.423 GB, free: 5.254 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.705e-05/1.039, allocations: 45.7 kB / 1.423 GB, free: 5.203 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007845/1.04, allocations: 0.8865 MB / 1.424 GB, free: 4.312 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/1.04, allocations: 238 kB / 1.424 GB, free: 4.078 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001979/1.04, allocations: 130.7 kB / 1.424 GB, free: 3.945 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001381/1.04, allocations: 334 kB / 1.425 GB, free: 3.613 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006487/1.041, allocations: 313.7 kB / 1.425 GB, free: 3.305 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007265/1.042, allocations: 434.4 kB / 1.425 GB, free: 2.836 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/1.043, allocations: 0.7189 MB / 1.426 GB, free: 2.078 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/1.043, allocations: 4 kB / 1.426 GB, free: 2.074 MB / 1.107 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002197/1.045, allocations: 1.217 MB / 1.427 GB, free: 0.8398 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/1.045, allocations: 12.09 kB / 1.427 GB, free: 0.8281 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/1.045, allocations: 4 kB / 1.427 GB, free: 0.8242 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006557/1.046, allocations: 259.6 kB / 1.427 GB, free: 0.5664 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004566/1.047, allocations: 131.8 kB / 1.428 GB, free: 448 kB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004954/1.051, allocations: 4.761 MB / 1.432 GB, free: 11.41 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004917/1.052, allocations: 99.41 kB / 1.432 GB, free: 11.31 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.444e-05/1.052, allocations: 28 kB / 1.432 GB, free: 11.28 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 2 systems {(2,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000698/1.053, allocations: 0.5991 MB / 1.433 GB, free: 10.68 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/1.053, allocations: 218.5 kB / 1.433 GB, free: 10.46 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003633/1.053, allocations: 252.5 kB / 1.433 GB, free: 10.2 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/1.053, allocations: 12 kB / 1.433 GB, free: 10.19 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/1.053, allocations: 4 kB / 1.433 GB, free: 10.19 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/1.053, allocations: 3.984 kB / 1.433 GB, free: 10.18 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003506/1.057, allocations: 2.339 MB / 1.436 GB, free: 7.781 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/1.057, allocations: 0 / 1.436 GB, free: 7.781 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002856/1.057, allocations: 67.84 kB / 1.436 GB, free: 7.715 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005916/1.058, allocations: 253.5 kB / 1.436 GB, free: 7.461 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.746e-05/1.058, allocations: 23.94 kB / 1.436 GB, free: 7.438 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004872/1.063, allocations: 4.76 MB / 1.441 GB, free: 2.406 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.063, allocations: 0 / 1.441 GB, free: 2.406 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002645/1.065, allocations: 1.577 MB / 1.442 GB, free: 0.8008 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003645/1.066, allocations: 323.6 kB / 1.443 GB, free: 476 kB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/1.066, allocations: 23.98 kB / 1.443 GB, free: 452 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004047/1.066, allocations: 35.97 kB / 1.443 GB, free: 416 kB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/1.066, allocations: 72.45 kB / 1.443 GB, free: 344 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.542e-05/1.067, allocations: 27.98 kB / 1.443 GB, free: 316 kB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002534/1.069, allocations: 2.423 MB / 1.445 GB, free: 13.87 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.6e-07/1.069, allocations: 0 / 1.445 GB, free: 13.87 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0007542/1.07, allocations: 287.6 kB / 1.445 GB, free: 13.59 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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): 2 systems {(2,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004534/1.074, allocations: 2.536 MB / 1.448 GB, free: 11.21 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001888/1.076, allocations: 1.062 MB / 1.449 GB, free: 10.12 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/1.076, allocations: 3.938 kB / 1.449 GB, free: 10.12 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001059/1.077, allocations: 0.6898 MB / 1.449 GB, free: 9.398 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/1.079, allocations: 290 kB / 1.45 GB, free: 9.125 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.018/1.097, allocations: 13.79 MB / 1.463 GB, free: 11.07 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001202/1.098, allocations: 1.528 MB / 1.465 GB, free: 9.512 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0003665/1.098, allocations: 158.3 kB / 1.465 GB, free: 9.352 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007652/1.099, allocations: 0.7062 MB / 1.466 GB, free: 8.645 MB / 1.154 GB Notification: Performance of SimCode: time 4e-07/1.099, allocations: 0 / 1.466 GB, free: 8.645 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.812/2.911, allocations: 32.94 MB / 1.498 GB, free: 8.043 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.34/28.25, allocations: 13.59 kB / 1.498 GB, free: 8.031 MB / 1.186 GB (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_fmu --startTime=0 --stopTime=5.184e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.fmu > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)