Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,fileNamePrefix="Buildings_9_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.007269/0.007269, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.001808/0.001809, allocations: 189.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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.356/2.356, allocations: 390.3 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 62.47 kB / 0.9504 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.24, allocations: 140.4 MB / 1.087 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.158/0.398, allocations: 157.3 MB / 1.241 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5568/0.9549, allocations: 21.99 MB / 1.263 GB, free: 3.16 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002091/0.957, allocations: 58.88 kB / 1.263 GB, free: 3.16 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003456/0.9605, allocations: 2.152 MB / 1.265 GB, free: 3.129 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002806/0.9634, allocations: 1.418 MB / 1.266 GB, free: 3.094 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001743/0.9651, allocations: 0.585 MB / 1.267 GB, free: 3.086 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002276/0.9674, allocations: 1.822 MB / 1.268 GB, free: 3.086 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001394/0.9688, allocations: 1.092 MB / 1.269 GB, free: 2.984 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001371/0.9702, allocations: 0.8835 MB / 1.27 GB, free: 2.984 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002248/0.9724, allocations: 1.533 MB / 1.272 GB, free: 2.984 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000236/0.9727, allocations: 90.84 kB / 1.272 GB, free: 2.984 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003981/0.9731, allocations: 132.7 kB / 1.272 GB, free: 2.984 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004652/0.9736, allocations: 0.5237 MB / 1.273 GB, free: 2.984 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007212/0.9743, allocations: 0.7698 MB / 1.273 GB, free: 2.98 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001859/0.9762, allocations: 1.856 MB / 1.275 GB, free: 2.766 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.9762, allocations: 3.969 kB / 1.275 GB, free: 2.766 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.502e-06/0.9762, allocations: 0 / 1.275 GB, free: 2.766 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.418e-05/0.9762, allocations: 0.8125 kB / 1.275 GB, free: 2.766 MB / 1.014 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.003441/0.9797, allocations: 2.281 MB / 1.277 GB, free: 1.488 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.9797, allocations: 11.3 kB / 1.277 GB, free: 1.488 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001233/0.9799, allocations: 105.1 kB / 1.277 GB, free: 1.449 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002729/0.9801, allocations: 231.3 kB / 1.278 GB, free: 1.328 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.9814, allocations: 1.021 MB / 1.279 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.9815, allocations: 85.92 kB / 1.279 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.9816, allocations: 63.78 kB / 1.279 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.9829, allocations: 0.7306 MB / 1.28 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.9829, allocations: 1.531 kB / 1.28 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.174e-05/0.983, allocations: 26.7 kB / 1.28 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.983, allocations: 14.25 kB / 1.28 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.9842, allocations: 0.5911 MB / 1.28 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004653/0.9888, allocations: 3.502 MB / 1.284 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/0.9904, allocations: 0.7029 MB / 1.284 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007598/0.9911, allocations: 419.5 kB / 1.285 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.807e-05/0.9912, allocations: 15.77 kB / 1.285 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007832/0.992, allocations: 432.2 kB / 1.285 GB, free: 15.06 MB / 1.029 GB Notification: Performance of pre-optimization done (n=70): time 2.484e-06/0.992, allocations: 0 / 1.285 GB, free: 15.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=70): time 0.004328/0.9963, allocations: 1.795 MB / 1.287 GB, free: 14.69 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.9964, allocations: 65.11 kB / 1.287 GB, free: 14.63 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0034/0.9998, allocations: 3.307 MB / 1.29 GB, free: 14.4 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.732e-05/0.9999, allocations: 43.31 kB / 1.29 GB, free: 14.37 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006285/1.001, allocations: 0.8876 MB / 1.291 GB, free: 14.21 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/1.001, allocations: 225.6 kB / 1.291 GB, free: 14.08 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002023/1.001, allocations: 132.1 kB / 1.291 GB, free: 14.06 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001145/1.001, allocations: 333.9 kB / 1.292 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006433/1.002, allocations: 306.7 kB / 1.292 GB, free: 13.76 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007034/1.002, allocations: 441 kB / 1.292 GB, free: 13.64 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/1.004, allocations: 0.713 MB / 1.293 GB, free: 13.52 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.004, allocations: 1.125 kB / 1.293 GB, free: 13.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002216/1.006, allocations: 1.213 MB / 1.294 GB, free: 13.34 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/1.006, allocations: 10.56 kB / 1.294 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/1.006, allocations: 3.562 kB / 1.294 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006736/1.007, allocations: 266.9 kB / 1.295 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004745/1.007, allocations: 126.8 kB / 1.295 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004664/1.012, allocations: 4.761 MB / 1.299 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006724/1.012, allocations: 92.88 kB / 1.299 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.288e-05/1.013, allocations: 24.91 kB / 1.299 GB, free: 10.39 MB / 1.029 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.0008623/1.013, allocations: 0.6079 MB / 1.3 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002425/1.014, allocations: 206 kB / 1.3 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000373/1.014, allocations: 252.4 kB / 1.3 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/1.014, allocations: 7.281 kB / 1.3 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.288e-05/1.014, allocations: 4.531 kB / 1.3 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/1.014, allocations: 3.609 kB / 1.3 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003677/1.018, allocations: 2.336 MB / 1.303 GB, free: 9.742 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/1.018, allocations: 4.688 kB / 1.303 GB, free: 9.738 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003025/1.018, allocations: 68.2 kB / 1.303 GB, free: 9.738 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005999/1.019, allocations: 250.5 kB / 1.303 GB, free: 9.723 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.062e-05/1.019, allocations: 24.22 kB / 1.303 GB, free: 9.723 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004455/1.023, allocations: 4.755 MB / 1.308 GB, free: 6.816 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.023, allocations: 0 / 1.308 GB, free: 6.816 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002601/1.026, allocations: 1.576 MB / 1.309 GB, free: 6.523 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004586/1.026, allocations: 311 kB / 1.31 GB, free: 6.312 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/1.026, allocations: 23.73 kB / 1.31 GB, free: 6.312 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004479/1.027, allocations: 39.08 kB / 1.31 GB, free: 6.309 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/1.027, allocations: 79.89 kB / 1.31 GB, free: 6.309 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.639e-05/1.027, allocations: 23.48 kB / 1.31 GB, free: 6.309 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002537/1.03, allocations: 2.421 MB / 1.312 GB, free: 6.164 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/1.03, allocations: 3.406 kB / 1.312 GB, free: 6.164 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009006/1.031, allocations: 283.8 kB / 1.312 GB, free: 6.141 MB / 1.029 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.003646/1.034, allocations: 2.513 MB / 1.315 GB, free: 5.219 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001796/1.036, allocations: 1.061 MB / 1.316 GB, free: 4.969 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.036, allocations: 0 / 1.316 GB, free: 4.969 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000972/1.037, allocations: 0.6903 MB / 1.317 GB, free: 4.723 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/1.038, allocations: 288.6 kB / 1.317 GB, free: 4.684 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01748/1.056, allocations: 13.71 MB / 1.33 GB, free: 1.605 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/1.057, allocations: 1.527 MB / 1.332 GB, free: 0.8633 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004544/1.057, allocations: 155 kB / 1.332 GB, free: 0.8281 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005957/1.058, allocations: 0.704 MB / 1.333 GB, free: 0.8242 MB / 1.029 GB Notification: Performance of SimCode: time 5.91e-07/1.058, allocations: 0 / 1.333 GB, free: 0.8242 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.495/1.553, allocations: 32.95 MB / 1.365 GB, free: 15.74 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/14.68, allocations: 11.94 kB / 1.365 GB, free: 15.73 MB / 1.061 GB (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.fmu > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)