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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001403/0.001403, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001632, allocations: 196.8 kB / 16.14 MB, free: 6.719 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.242/1.242, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.099/2.099, allocations: 390.2 MB / 0.6643 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 59.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4917/0.493, allocations: 140.4 MB / 0.949 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.1333/0.6263, allocations: 155.2 MB / 1.101 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0186/0.6449, allocations: 21.92 MB / 1.122 GB, free: 280 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009679/0.6459, allocations: 51.69 kB / 1.122 GB, free: 228 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001912/0.6479, allocations: 2.121 MB / 1.124 GB, free: 14.1 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001396/0.6493, allocations: 1.398 MB / 1.126 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009907/0.6503, allocations: 0.5385 MB / 1.126 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001403/0.6517, allocations: 2.074 MB / 1.128 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008927/0.6526, allocations: 1.019 MB / 1.129 GB, free: 9.035 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006799/0.6533, allocations: 0.8215 MB / 1.13 GB, free: 8.211 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00127/0.6546, allocations: 1.576 MB / 1.131 GB, free: 6.633 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001273/0.6547, allocations: 56 kB / 1.131 GB, free: 6.578 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002368/0.655, allocations: 104 kB / 1.132 GB, free: 6.477 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003732/0.6553, allocations: 0.5393 MB / 1.132 GB, free: 5.938 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.00051/0.6559, allocations: 0.76 MB / 1.133 GB, free: 5.172 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.6571, allocations: 1.852 MB / 1.135 GB, free: 3.312 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.6571, allocations: 0 / 1.135 GB, free: 3.312 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.023e-06/0.6571, allocations: 0 / 1.135 GB, free: 3.312 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.297e-05/0.6571, allocations: 3.938 kB / 1.135 GB, free: 3.309 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.002755/0.6598, allocations: 2.354 MB / 1.137 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.6599, allocations: 12.03 kB / 1.137 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001159/0.66, allocations: 114.7 kB / 1.137 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002272/0.6602, allocations: 237.7 kB / 1.137 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.6613, allocations: 1.023 MB / 1.138 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.6614, allocations: 94.94 kB / 1.138 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-05/0.6615, allocations: 72 kB / 1.138 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.6627, allocations: 0.7845 MB / 1.139 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.6627, allocations: 4 kB / 1.139 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.101e-05/0.6628, allocations: 24 kB / 1.139 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.6628, allocations: 16 kB / 1.139 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.6639, allocations: 0.6413 MB / 1.14 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004022/0.668, allocations: 3.733 MB / 1.144 GB, free: 9.777 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/0.6693, allocations: 0.7399 MB / 1.144 GB, free: 9.027 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006756/0.67, allocations: 430.1 kB / 1.145 GB, free: 8.605 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.071e-05/0.6701, allocations: 8.562 kB / 1.145 GB, free: 8.598 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007106/0.6708, allocations: 456.1 kB / 1.145 GB, free: 8.137 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=73): time 1.994e-06/0.6708, allocations: 0 / 1.145 GB, free: 8.137 MB / 0.9044 GB Notification: Performance of matching and sorting (n=73): time 0.003645/0.6744, allocations: 1.83 MB / 1.147 GB, free: 6.258 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.6745, allocations: 68.05 kB / 1.147 GB, free: 6.18 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002773/0.6773, allocations: 3.363 MB / 1.15 GB, free: 2.793 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.236e-05/0.6773, allocations: 49.62 kB / 1.15 GB, free: 2.738 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006157/0.678, allocations: 0.9291 MB / 1.151 GB, free: 1.805 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/0.6781, allocations: 232.7 kB / 1.151 GB, free: 1.574 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.6783, allocations: 138.6 kB / 1.152 GB, free: 1.434 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.79e-05/0.6784, allocations: 345.9 kB / 1.152 GB, free: 1.09 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005866/0.679, allocations: 313.8 kB / 1.152 GB, free: 0.7812 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000659/0.6797, allocations: 476 kB / 1.153 GB, free: 276 kB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.6808, allocations: 0.7463 MB / 1.153 GB, free: 15.48 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.6808, allocations: 0 / 1.153 GB, free: 15.48 MB / 0.92 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001991/0.6828, allocations: 1.253 MB / 1.155 GB, free: 14.21 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.6828, allocations: 4 kB / 1.155 GB, free: 14.21 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.6829, allocations: 4 kB / 1.155 GB, free: 14.2 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006312/0.6835, allocations: 269.4 kB / 1.155 GB, free: 13.94 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004546/0.684, allocations: 131.8 kB / 1.155 GB, free: 13.81 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003892/0.6879, allocations: 4.362 MB / 1.159 GB, free: 9.184 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005621/0.6884, allocations: 103.3 kB / 1.159 GB, free: 9.082 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.188e-05/0.6885, allocations: 36.05 kB / 1.159 GB, free: 9.047 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.000623/0.6891, allocations: 0.6147 MB / 1.16 GB, free: 8.422 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001806/0.6893, allocations: 213.3 kB / 1.16 GB, free: 8.211 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002984/0.6896, allocations: 257.1 kB / 1.16 GB, free: 7.953 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.6896, allocations: 8 kB / 1.16 GB, free: 7.945 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.6896, allocations: 7.984 kB / 1.16 GB, free: 7.938 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.6897, allocations: 3.938 kB / 1.16 GB, free: 7.934 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00315/0.6928, allocations: 2.412 MB / 1.163 GB, free: 5.457 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.6928, allocations: 0 / 1.163 GB, free: 5.457 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003045/0.6931, allocations: 71.89 kB / 1.163 GB, free: 5.387 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005433/0.6937, allocations: 245.5 kB / 1.163 GB, free: 5.141 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.404e-05/0.6937, allocations: 19.98 kB / 1.163 GB, free: 5.121 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003804/0.6976, allocations: 4.359 MB / 1.167 GB, free: 0.5 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6976, allocations: 0 / 1.167 GB, free: 0.5 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002394/0.7, allocations: 1.629 MB / 1.169 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003311/0.7003, allocations: 330.2 kB / 1.169 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.7005, allocations: 20 kB / 1.169 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004417/0.7009, allocations: 55.8 kB / 1.169 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/0.7011, allocations: 76.53 kB / 1.169 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.843e-05/0.7011, allocations: 20 kB / 1.169 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002099/0.7032, allocations: 2.468 MB / 1.172 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7032, allocations: 0 / 1.172 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007383/0.704, allocations: 303.5 kB / 1.172 GB, free: 11.55 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.00356/0.7075, allocations: 2.567 MB / 1.175 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001647/0.7092, allocations: 1.09 MB / 1.176 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.7092, allocations: 0 / 1.176 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009464/0.7102, allocations: 0.7181 MB / 1.176 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.7114, allocations: 275.5 kB / 1.177 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01792/0.7293, allocations: 16.5 MB / 1.193 GB, free: 5.348 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009881/0.7303, allocations: 1.552 MB / 1.194 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003985/0.7307, allocations: 158.6 kB / 1.194 GB, free: 3.609 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006686/0.7314, allocations: 0.7414 MB / 1.195 GB, free: 2.867 MB / 0.9512 GB Notification: Performance of SimCode: time 3.3e-07/0.7314, allocations: 0 / 1.195 GB, free: 2.867 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.547/3.278, allocations: 32.61 MB / 1.227 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002689/3.279, allocations: 288 kB / 1.227 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.624/5.903, allocations: 4 kB / 1.227 GB, free: 2.203 MB / 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)