Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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.TestCase10,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10",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.001444/0.001444, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001682/0.001681, allocations: 192.7 kB / 16.25 MB, free: 6.625 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.263/1.263, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.162/2.162, allocations: 390.2 MB / 0.6644 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 63.91 kB / 0.8122 GB, free: 14.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5528/0.5541, allocations: 140.4 MB / 0.9492 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.1484/0.7026, allocations: 155.4 MB / 1.101 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02255/0.7252, allocations: 21.81 MB / 1.122 GB, free: 260 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001793/0.727, allocations: 51.69 kB / 1.122 GB, free: 208 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002463/0.7295, allocations: 2.124 MB / 1.124 GB, free: 14.07 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002292/0.7318, allocations: 1.406 MB / 1.126 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00164/0.7335, allocations: 0.5401 MB / 1.126 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002201/0.7357, allocations: 1.933 MB / 1.128 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001611/0.7373, allocations: 1.133 MB / 1.129 GB, free: 9.031 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.7387, allocations: 0.923 MB / 1.13 GB, free: 8.105 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001807/0.7405, allocations: 1.658 MB / 1.132 GB, free: 6.445 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002732/0.7408, allocations: 96 kB / 1.132 GB, free: 6.352 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003992/0.7412, allocations: 140 kB / 1.132 GB, free: 6.215 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000511/0.7417, allocations: 0.5823 MB / 1.133 GB, free: 5.633 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0008033/0.7425, allocations: 0.8108 MB / 1.133 GB, free: 4.816 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001666/0.7442, allocations: 1.899 MB / 1.135 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.7442, allocations: 0 / 1.135 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.845e-06/0.7442, allocations: 3.984 kB / 1.135 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.521e-05/0.7443, allocations: 0 / 1.135 GB, free: 2.906 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.003491/0.7478, allocations: 2.35 MB / 1.138 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.7478, allocations: 12.03 kB / 1.138 GB, free: 496 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000151/0.748, allocations: 114.7 kB / 1.138 GB, free: 372 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003092/0.7483, allocations: 237.7 kB / 1.138 GB, free: 132 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/0.7495, allocations: 1.031 MB / 1.139 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.7497, allocations: 94.98 kB / 1.139 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.7498, allocations: 68 kB / 1.139 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.7511, allocations: 0.7767 MB / 1.14 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.7512, allocations: 8 kB / 1.14 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.663e-05/0.7512, allocations: 31.98 kB / 1.14 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.7513, allocations: 16 kB / 1.14 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.7524, allocations: 0.6413 MB / 1.14 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004614/0.757, allocations: 3.737 MB / 1.144 GB, free: 9.367 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/0.7585, allocations: 0.7439 MB / 1.145 GB, free: 8.613 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006941/0.7592, allocations: 430 kB / 1.145 GB, free: 8.191 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.956e-05/0.7593, allocations: 8.562 kB / 1.145 GB, free: 8.184 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007466/0.76, allocations: 452.1 kB / 1.146 GB, free: 7.727 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=73): time 2.224e-06/0.76, allocations: 0 / 1.146 GB, free: 7.727 MB / 0.9044 GB Notification: Performance of matching and sorting (n=73): time 0.003888/0.7639, allocations: 1.83 MB / 1.147 GB, free: 5.848 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.764, allocations: 60.06 kB / 1.148 GB, free: 5.777 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00306/0.767, allocations: 3.367 MB / 1.151 GB, free: 2.387 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.197e-05/0.7671, allocations: 41.7 kB / 1.151 GB, free: 2.34 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006435/0.7678, allocations: 0.9252 MB / 1.152 GB, free: 1.406 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001802/0.7679, allocations: 240.7 kB / 1.152 GB, free: 1.168 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001988/0.7681, allocations: 134.7 kB / 1.152 GB, free: 1.031 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.7683, allocations: 341.9 kB / 1.152 GB, free: 0.6914 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000623/0.7689, allocations: 321.8 kB / 1.153 GB, free: 384 kB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007065/0.7696, allocations: 468 kB / 1.153 GB, free: 15.87 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.7708, allocations: 0.7497 MB / 1.154 GB, free: 15.08 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.7708, allocations: 4 kB / 1.154 GB, free: 15.08 MB / 0.92 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002144/0.773, allocations: 1.245 MB / 1.155 GB, free: 13.82 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.773, allocations: 8.094 kB / 1.155 GB, free: 13.81 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.773, allocations: 4 kB / 1.155 GB, free: 13.8 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006539/0.7737, allocations: 269.4 kB / 1.155 GB, free: 13.54 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004763/0.7742, allocations: 139.8 kB / 1.156 GB, free: 13.4 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004426/0.7786, allocations: 4.754 MB / 1.16 GB, free: 8.375 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006853/0.7793, allocations: 107.3 kB / 1.16 GB, free: 8.27 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-05/0.7794, allocations: 35.88 kB / 1.16 GB, free: 8.234 MB / 0.92 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.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.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 (77): * Single equations (assignments): 75 * 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 {(1,3,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007409/0.7801, allocations: 0.6145 MB / 1.161 GB, free: 7.609 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002291/0.7804, allocations: 209.3 kB / 1.161 GB, free: 7.402 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003549/0.7807, allocations: 265.1 kB / 1.161 GB, free: 7.137 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.7807, allocations: 11.94 kB / 1.161 GB, free: 7.125 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/0.7807, allocations: 4 kB / 1.161 GB, free: 7.121 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.7808, allocations: 3.984 kB / 1.161 GB, free: 7.117 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003606/0.7844, allocations: 2.393 MB / 1.164 GB, free: 4.66 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.7844, allocations: 3.984 kB / 1.164 GB, free: 4.656 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003243/0.7847, allocations: 75.91 kB / 1.164 GB, free: 4.582 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005856/0.7853, allocations: 245.5 kB / 1.164 GB, free: 4.336 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.344e-05/0.7854, allocations: 23.92 kB / 1.164 GB, free: 4.312 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004405/0.7898, allocations: 4.756 MB / 1.169 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.7898, allocations: 0 / 1.169 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002621/0.7924, allocations: 1.629 MB / 1.17 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005174/0.793, allocations: 330.2 kB / 1.171 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001909/0.7932, allocations: 20 kB / 1.171 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005011/0.7937, allocations: 43.95 kB / 1.171 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/0.7939, allocations: 72.55 kB / 1.171 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.562e-05/0.7939, allocations: 23.98 kB / 1.171 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002391/0.7963, allocations: 2.464 MB / 1.173 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7963, allocations: 0 / 1.173 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000926/0.7973, allocations: 303.5 kB / 1.173 GB, free: 10.35 MB / 0.9356 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,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * 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.003747/0.801, allocations: 2.579 MB / 1.176 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002203/0.8032, allocations: 1.195 MB / 1.177 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.8032, allocations: 0 / 1.177 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.8043, allocations: 0.7065 MB / 1.178 GB, free: 5.973 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.8055, allocations: 291.7 kB / 1.178 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02039/0.8259, allocations: 16.49 MB / 1.194 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/0.8271, allocations: 1.552 MB / 1.196 GB, free: 2.449 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0004576/0.8276, allocations: 166.5 kB / 1.196 GB, free: 2.281 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007253/0.8283, allocations: 0.7453 MB / 1.197 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of SimCode: time 5.41e-07/0.8283, allocations: 0 / 1.197 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05728/0.8856, allocations: 33.21 MB / 1.229 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002041/0.8859, allocations: 285.9 kB / 1.229 GB, free: 300 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.355/3.241, allocations: 0 / 1.229 GB, free: 300 kB / 0.9825 GB (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.fmu > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1)