Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,fileNamePrefix="Buildings_10_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.001077/0.001078, 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.001228/0.001228, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.348/1.348, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.572/2.572, allocations: 437 MB / 0.7099 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 63.91 kB / 0.8687 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5808/0.582, allocations: 151.6 MB / 1.017 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.1556/0.7376, allocations: 155 MB / 1.168 GB, free: 7.25 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0255/0.7631, allocations: 21.85 MB / 1.189 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002179/0.7653, allocations: 51.69 kB / 1.189 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002546/0.768, allocations: 2.117 MB / 1.192 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002277/0.7703, allocations: 1.355 MB / 1.193 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001647/0.7719, allocations: 0.5211 MB / 1.193 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002471/0.7744, allocations: 1.902 MB / 1.195 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001604/0.776, allocations: 0.9996 MB / 1.196 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001423/0.7775, allocations: 0.7865 MB / 1.197 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001902/0.7794, allocations: 1.518 MB / 1.198 GB, free: 8.043 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002806/0.7797, allocations: 52 kB / 1.199 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000437/0.7801, allocations: 95.97 kB / 1.199 GB, free: 7.898 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0005556/0.7807, allocations: 0.5157 MB / 1.199 GB, free: 7.379 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0009355/0.7816, allocations: 0.7328 MB / 1.2 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001536/0.7832, allocations: 1.774 MB / 1.202 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.7832, allocations: 3.938 kB / 1.202 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.012e-06/0.7832, allocations: 0 / 1.202 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.468e-05/0.7832, allocations: 4 kB / 1.202 GB, free: 4.852 MB / 0.9512 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.003024/0.7862, allocations: 2.281 MB / 1.204 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.7863, allocations: 16.03 kB / 1.204 GB, free: 2.488 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001217/0.7864, allocations: 102.7 kB / 1.204 GB, free: 2.379 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002487/0.7867, allocations: 230 kB / 1.204 GB, free: 2.152 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.7878, allocations: 1.003 MB / 1.205 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/0.7879, allocations: 87 kB / 1.205 GB, free: 0.9883 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.64e-05/0.788, allocations: 64 kB / 1.205 GB, free: 0.9258 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.7893, allocations: 0.7329 MB / 1.206 GB, free: 184 kB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.7893, allocations: 4 kB / 1.206 GB, free: 180 kB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.932e-05/0.7894, allocations: 24 kB / 1.206 GB, free: 156 kB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.7894, allocations: 16 kB / 1.206 GB, free: 140 kB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.7905, allocations: 0.5869 MB / 1.207 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004294/0.7948, allocations: 3.529 MB / 1.21 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.7963, allocations: 0.7051 MB / 1.211 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007084/0.797, allocations: 414.3 kB / 1.211 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.149e-05/0.797, allocations: 4.562 kB / 1.211 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007452/0.7978, allocations: 430.9 kB / 1.212 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=70): time 3.396e-06/0.7978, allocations: 4 kB / 1.212 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of matching and sorting (n=70): time 0.004054/0.8019, allocations: 1.807 MB / 1.213 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.8019, allocations: 59.97 kB / 1.213 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003096/0.805, allocations: 3.304 MB / 1.217 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.443e-05/0.8051, allocations: 49.69 kB / 1.217 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000692/0.8058, allocations: 0.886 MB / 1.217 GB, free: 4 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/0.806, allocations: 220.9 kB / 1.218 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001888/0.8062, allocations: 134.7 kB / 1.218 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.8063, allocations: 337.9 kB / 1.218 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000616/0.8069, allocations: 297.8 kB / 1.218 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006654/0.8076, allocations: 446.2 kB / 1.219 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.8088, allocations: 0.7267 MB / 1.22 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.8088, allocations: 0 / 1.22 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002139/0.811, allocations: 1.208 MB / 1.221 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.811, allocations: 8 kB / 1.221 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.811, allocations: 0 / 1.221 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006818/0.8117, allocations: 267 kB / 1.221 GB, free: 276 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004524/0.8121, allocations: 127.8 kB / 1.221 GB, free: 148 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004357/0.8165, allocations: 4.372 MB / 1.225 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006422/0.8172, allocations: 99.39 kB / 1.225 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-05/0.8172, allocations: 31.98 kB / 1.226 GB, free: 11.38 MB / 0.9825 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.0008391/0.8181, allocations: 0.6112 MB / 1.226 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002418/0.8183, allocations: 205.3 kB / 1.226 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004148/0.8188, allocations: 248.5 kB / 1.227 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.8188, allocations: 8 kB / 1.227 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.752e-05/0.8188, allocations: 4 kB / 1.227 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.8188, allocations: 3.984 kB / 1.227 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003809/0.8226, allocations: 2.346 MB / 1.229 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.8226, allocations: 3.984 kB / 1.229 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002981/0.8229, allocations: 67.83 kB / 1.229 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006315/0.8236, allocations: 255.4 kB / 1.229 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.578e-05/0.8236, allocations: 15.98 kB / 1.229 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004347/0.828, allocations: 4.357 MB / 1.233 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.828, allocations: 0 / 1.233 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002654/0.8307, allocations: 1.587 MB / 1.235 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004565/0.8311, allocations: 310.4 kB / 1.235 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001987/0.8314, allocations: 19.98 kB / 1.235 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005267/0.8319, allocations: 55.83 kB / 1.235 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/0.8321, allocations: 68.45 kB / 1.235 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.959e-05/0.8321, allocations: 23.98 kB / 1.235 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002708/0.8349, allocations: 2.423 MB / 1.238 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8349, allocations: 0 / 1.238 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001013/0.8359, allocations: 292.2 kB / 1.238 GB, free: 14.1 MB / 0.9981 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.003905/0.8398, allocations: 2.516 MB / 1.241 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001914/0.8417, allocations: 1.058 MB / 1.242 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.8417, allocations: 4.125 kB / 1.242 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.8428, allocations: 0.6781 MB / 1.242 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.8441, allocations: 271 kB / 1.243 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4773/1.321, allocations: 15.95 MB / 1.258 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/1.323, allocations: 1.527 MB / 1.26 GB, free: 228.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005386/1.323, allocations: 153.1 kB / 1.26 GB, free: 228.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006479/1.324, allocations: 0.7008 MB / 1.26 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of SimCode: time 7.81e-07/1.324, allocations: 0 / 1.26 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05157/1.376, allocations: 31.43 MB / 1.291 GB, free: 210.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001537/1.376, allocations: 290.8 kB / 1.291 GB, free: 210.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.383/3.759, allocations: 4 kB / 1.291 GB, free: 210.3 MB / 0.9981 GB (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.fmu > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)