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.001264/0.001264, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.239/1.239, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.17/2.17, allocations: 390.3 MB / 0.6647 GB, free: 272 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 63.91 kB / 0.8127 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5443/0.5455, allocations: 140.4 MB / 0.9497 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.1479/0.6935, allocations: 157.5 MB / 1.104 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02378/0.7173, allocations: 22.06 MB / 1.125 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001817/0.7192, allocations: 67.62 kB / 1.125 GB, free: 13.49 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002492/0.7217, allocations: 2.163 MB / 1.127 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002091/0.7238, allocations: 1.46 MB / 1.129 GB, free: 9.859 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.7252, allocations: 0.6138 MB / 1.129 GB, free: 9.25 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002061/0.7273, allocations: 1.926 MB / 1.131 GB, free: 7.312 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.7287, allocations: 1.125 MB / 1.132 GB, free: 6.168 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/0.7299, allocations: 0.9191 MB / 1.133 GB, free: 5.246 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001727/0.7316, allocations: 1.588 MB / 1.135 GB, free: 3.656 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002118/0.7318, allocations: 96 kB / 1.135 GB, free: 3.562 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003494/0.7322, allocations: 143.9 kB / 1.135 GB, free: 3.422 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004587/0.7327, allocations: 0.5472 MB / 1.135 GB, free: 2.875 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007267/0.7334, allocations: 0.7953 MB / 1.136 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001656/0.7351, allocations: 1.903 MB / 1.138 GB, free: 168 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.7351, allocations: 3.938 kB / 1.138 GB, free: 164 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7351, allocations: 0 / 1.138 GB, free: 164 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.345e-05/0.7351, allocations: 0 / 1.138 GB, free: 164 kB / 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.003771/0.7389, allocations: 2.357 MB / 1.14 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.739, allocations: 8.031 kB / 1.14 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001404/0.7391, allocations: 110.7 kB / 1.141 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003381/0.7395, allocations: 245.7 kB / 1.141 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.7407, allocations: 1.023 MB / 1.142 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001471/0.7409, allocations: 91 kB / 1.142 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.741, allocations: 71.94 kB / 1.142 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.7423, allocations: 0.7884 MB / 1.143 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.7424, allocations: 0 / 1.143 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.616e-05/0.7424, allocations: 24 kB / 1.143 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.7425, allocations: 16 kB / 1.143 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.7437, allocations: 0.6413 MB / 1.143 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004953/0.7486, allocations: 3.745 MB / 1.147 GB, free: 6.621 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.7502, allocations: 0.7361 MB / 1.148 GB, free: 5.875 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007524/0.7509, allocations: 438 kB / 1.148 GB, free: 5.445 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.233e-05/0.751, allocations: 8.562 kB / 1.148 GB, free: 5.438 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007689/0.7518, allocations: 452 kB / 1.149 GB, free: 4.984 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=73): time 2.315e-06/0.7518, allocations: 0 / 1.149 GB, free: 4.984 MB / 0.9044 GB Notification: Performance of matching and sorting (n=73): time 0.003947/0.7557, allocations: 1.822 MB / 1.15 GB, free: 3.113 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.7558, allocations: 64.06 kB / 1.15 GB, free: 3.039 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003271/0.7591, allocations: 3.367 MB / 1.154 GB, free: 15.65 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.482e-05/0.7591, allocations: 45.7 kB / 1.154 GB, free: 15.6 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007309/0.7599, allocations: 0.9291 MB / 1.155 GB, free: 14.66 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001845/0.7601, allocations: 236.7 kB / 1.155 GB, free: 14.43 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001968/0.7603, allocations: 134.7 kB / 1.155 GB, free: 14.29 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.7604, allocations: 337.9 kB / 1.155 GB, free: 13.95 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006395/0.7611, allocations: 333.7 kB / 1.156 GB, free: 13.62 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007242/0.7618, allocations: 464 kB / 1.156 GB, free: 13.12 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/0.763, allocations: 0.7516 MB / 1.157 GB, free: 12.33 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.7631, allocations: 4 kB / 1.157 GB, free: 12.32 MB / 0.92 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002172/0.7652, allocations: 1.247 MB / 1.158 GB, free: 11.06 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.7653, allocations: 8 kB / 1.158 GB, free: 11.05 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.7653, allocations: 0 / 1.158 GB, free: 11.05 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006596/0.7659, allocations: 271.2 kB / 1.158 GB, free: 10.78 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004839/0.7664, allocations: 135.8 kB / 1.158 GB, free: 10.65 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004649/0.7711, allocations: 4.753 MB / 1.163 GB, free: 5.625 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005937/0.7717, allocations: 99.17 kB / 1.163 GB, free: 5.527 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.196e-05/0.7718, allocations: 31.98 kB / 1.163 GB, free: 5.496 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.0006781/0.7725, allocations: 0.6187 MB / 1.164 GB, free: 4.871 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002162/0.7727, allocations: 213.3 kB / 1.164 GB, free: 4.66 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003395/0.773, allocations: 261.1 kB / 1.164 GB, free: 4.398 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.773, allocations: 11.94 kB / 1.164 GB, free: 4.387 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.7731, allocations: 4 kB / 1.164 GB, free: 4.383 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.7731, allocations: 3.984 kB / 1.164 GB, free: 4.379 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003411/0.7765, allocations: 2.401 MB / 1.167 GB, free: 1.914 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.7765, allocations: 0 / 1.167 GB, free: 1.914 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003071/0.7768, allocations: 75.89 kB / 1.167 GB, free: 1.84 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000578/0.7774, allocations: 249.5 kB / 1.167 GB, free: 1.59 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.935e-05/0.7775, allocations: 23.92 kB / 1.167 GB, free: 1.566 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004371/0.7818, allocations: 4.743 MB / 1.172 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.7818, allocations: 0 / 1.172 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00252/0.7844, allocations: 1.644 MB / 1.173 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003572/0.7847, allocations: 326.1 kB / 1.174 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/0.7849, allocations: 20 kB / 1.174 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004307/0.7853, allocations: 39.95 kB / 1.174 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.7855, allocations: 72.55 kB / 1.174 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.354e-05/0.7856, allocations: 27.98 kB / 1.174 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002272/0.7878, allocations: 2.464 MB / 1.176 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7878, allocations: 0 / 1.176 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000762/0.7886, allocations: 295.6 kB / 1.176 GB, free: 7.609 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.003707/0.7923, allocations: 2.587 MB / 1.179 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002105/0.7944, allocations: 1.184 MB / 1.18 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.7945, allocations: 0 / 1.18 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.7955, allocations: 0.7027 MB / 1.181 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.7967, allocations: 293.5 kB / 1.181 GB, free: 2.973 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01931/0.816, allocations: 16.05 MB / 1.197 GB, free: 1.754 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/0.8171, allocations: 1.556 MB / 1.198 GB, free: 168 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0004117/0.8175, allocations: 162.6 kB / 1.198 GB, free: 0 / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007099/0.8183, allocations: 0.7454 MB / 1.199 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of SimCode: time 2.8e-07/0.8183, allocations: 0 / 1.199 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06187/0.8801, allocations: 33.57 MB / 1.232 GB, free: 14 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.586/10.47, allocations: 10.56 kB / 1.232 GB, free: 13.99 MB / 0.9981 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)