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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001104/0.001104, 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.001095/0.001095, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.288/1.288, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.531/2.531, allocations: 437 MB / 0.7101 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 71.89 kB / 0.8689 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6046/0.6059, allocations: 151.6 MB / 1.017 GB, free: 2.656 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.1459/0.7519, allocations: 155.1 MB / 1.168 GB, free: 6.961 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02255/0.7745, allocations: 21.75 MB / 1.19 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001796/0.7763, allocations: 51.69 kB / 1.19 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002415/0.7788, allocations: 2.113 MB / 1.192 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002016/0.7808, allocations: 1.367 MB / 1.193 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.7823, allocations: 0.5084 MB / 1.194 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002004/0.7843, allocations: 1.832 MB / 1.195 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00142/0.7857, allocations: 1.09 MB / 1.196 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.7869, allocations: 0.888 MB / 1.197 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001649/0.7886, allocations: 1.6 MB / 1.199 GB, free: 7.664 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.000208/0.7888, allocations: 92 kB / 1.199 GB, free: 7.574 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003444/0.7892, allocations: 140 kB / 1.199 GB, free: 7.438 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004336/0.7896, allocations: 0.5587 MB / 1.2 GB, free: 6.875 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0006575/0.7903, allocations: 0.7641 MB / 1.2 GB, free: 6.105 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.7918, allocations: 1.825 MB / 1.202 GB, free: 4.273 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.7918, allocations: 0 / 1.202 GB, free: 4.273 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.755e-06/0.7918, allocations: 3.984 kB / 1.202 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.44e-05/0.7919, allocations: 0 / 1.202 GB, free: 4.27 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.003358/0.7952, allocations: 2.285 MB / 1.204 GB, free: 1.918 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.7953, allocations: 12.03 kB / 1.204 GB, free: 1.906 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000127/0.7954, allocations: 106.7 kB / 1.205 GB, free: 1.793 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002766/0.7957, allocations: 234 kB / 1.205 GB, free: 1.562 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.7969, allocations: 0.9952 MB / 1.206 GB, free: 0.4961 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/0.797, allocations: 91 kB / 1.206 GB, free: 412 kB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.92e-05/0.7971, allocations: 63.98 kB / 1.206 GB, free: 348 kB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.7984, allocations: 0.7251 MB / 1.207 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.7984, allocations: 3.938 kB / 1.207 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.259e-05/0.7985, allocations: 28 kB / 1.207 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.7985, allocations: 15.94 kB / 1.207 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.7996, allocations: 0.5946 MB / 1.207 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004141/0.8037, allocations: 3.529 MB / 1.211 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.8052, allocations: 0.7067 MB / 1.211 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007046/0.8059, allocations: 410.3 kB / 1.212 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.969e-05/0.806, allocations: 8.562 kB / 1.212 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007572/0.8067, allocations: 434.9 kB / 1.212 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=70): time 2.284e-06/0.8067, allocations: 4 kB / 1.212 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of matching and sorting (n=70): time 0.004116/0.8109, allocations: 1.792 MB / 1.214 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.8109, allocations: 59.97 kB / 1.214 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003521/0.8144, allocations: 3.316 MB / 1.217 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.32e-05/0.8145, allocations: 41.7 kB / 1.217 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007998/0.8153, allocations: 0.886 MB / 1.218 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002154/0.8156, allocations: 224.9 kB / 1.218 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.8158, allocations: 126.7 kB / 1.218 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.8159, allocations: 337.9 kB / 1.219 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006148/0.8165, allocations: 309.8 kB / 1.219 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006773/0.8172, allocations: 439 kB / 1.219 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.8184, allocations: 0.7132 MB / 1.22 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.8184, allocations: 0 / 1.22 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002135/0.8205, allocations: 1.214 MB / 1.221 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.8206, allocations: 4 kB / 1.221 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.8206, allocations: 4 kB / 1.221 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007071/0.8213, allocations: 271.5 kB / 1.222 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004759/0.8218, allocations: 131.8 kB / 1.222 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004753/0.8265, allocations: 4.776 MB / 1.226 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005804/0.8271, allocations: 95.27 kB / 1.226 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.788e-05/0.8272, allocations: 31.98 kB / 1.227 GB, free: 10.39 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.0007121/0.8279, allocations: 0.6069 MB / 1.227 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000206/0.8281, allocations: 201.4 kB / 1.227 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003551/0.8285, allocations: 256.5 kB / 1.228 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.8285, allocations: 7.938 kB / 1.228 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-05/0.8285, allocations: 4 kB / 1.228 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.8285, allocations: 7.922 kB / 1.228 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003565/0.8321, allocations: 2.334 MB / 1.23 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.8321, allocations: 0 / 1.23 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003025/0.8324, allocations: 67.89 kB / 1.23 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006294/0.8331, allocations: 257.5 kB / 1.23 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.559e-05/0.8332, allocations: 19.98 kB / 1.23 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004611/0.8378, allocations: 4.753 MB / 1.235 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.8378, allocations: 0 / 1.235 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002579/0.8404, allocations: 1.576 MB / 1.236 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000387/0.8408, allocations: 306.4 kB / 1.237 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/0.841, allocations: 23.94 kB / 1.237 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004854/0.8414, allocations: 55.8 kB / 1.237 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/0.8416, allocations: 76.39 kB / 1.237 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.826e-05/0.8417, allocations: 23.98 kB / 1.237 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002438/0.8441, allocations: 2.427 MB / 1.239 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8441, allocations: 0 / 1.239 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008886/0.845, allocations: 291.6 kB / 1.239 GB, free: 12.7 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.003861/0.8489, allocations: 2.515 MB / 1.242 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002209/0.8511, allocations: 1.144 MB / 1.243 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.8511, allocations: 4.125 kB / 1.243 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.8522, allocations: 0.6859 MB / 1.244 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/0.8535, allocations: 289.2 kB / 1.244 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4353/1.289, allocations: 15.95 MB / 1.26 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00144/1.29, allocations: 1.525 MB / 1.261 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005229/1.291, allocations: 149.2 kB / 1.261 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006379/1.292, allocations: 0.7083 MB / 1.262 GB, free: 227.5 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/1.292, allocations: 0 / 1.262 GB, free: 227.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.879/4.17, allocations: 32 MB / 1.293 GB, free: 208.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/4.17, allocations: 283 kB / 1.293 GB, free: 207.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.309/6.479, allocations: 0 / 1.293 GB, free: 207.9 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)