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.007115/0.007115, allocations: 102 kB / 15.73 MB, free: 6.035 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.001671/0.001671, allocations: 196.2 kB / 16.68 MB, free: 5.953 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.19/2.19, allocations: 390.3 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 67.89 kB / 0.9504 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6799/0.6811, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.1626/0.8437, allocations: 157.5 MB / 1.241 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02348/0.8672, allocations: 22.07 MB / 1.263 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002078/0.8693, allocations: 59.69 kB / 1.263 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002339/0.8717, allocations: 2.163 MB / 1.265 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00192/0.8737, allocations: 1.46 MB / 1.266 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.8751, allocations: 0.6219 MB / 1.267 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0017/0.8768, allocations: 1.929 MB / 1.269 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001125/0.8779, allocations: 1.117 MB / 1.27 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009183/0.8788, allocations: 0.923 MB / 1.271 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001423/0.8803, allocations: 1.588 MB / 1.272 GB, free: 280 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001618/0.8804, allocations: 96 kB / 1.273 GB, free: 184 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002722/0.8807, allocations: 140 kB / 1.273 GB, free: 44 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000397/0.8811, allocations: 0.5472 MB / 1.273 GB, free: 15.49 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006001/0.8817, allocations: 0.803 MB / 1.274 GB, free: 14.68 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001517/0.8833, allocations: 1.93 MB / 1.276 GB, free: 12.74 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.8833, allocations: 4 kB / 1.276 GB, free: 12.74 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8833, allocations: 4 kB / 1.276 GB, free: 12.73 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.467e-05/0.8833, allocations: 3.984 kB / 1.276 GB, free: 12.73 MB / 1.014 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.003045/0.8864, allocations: 2.345 MB / 1.278 GB, free: 10.32 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.8864, allocations: 8.031 kB / 1.278 GB, free: 10.31 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001179/0.8865, allocations: 114.7 kB / 1.278 GB, free: 10.19 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002486/0.8868, allocations: 245.7 kB / 1.279 GB, free: 9.949 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.888, allocations: 1.034 MB / 1.28 GB, free: 8.848 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/0.8881, allocations: 95 kB / 1.28 GB, free: 8.746 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.8882, allocations: 67.98 kB / 1.28 GB, free: 8.68 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.8894, allocations: 0.7845 MB / 1.28 GB, free: 7.879 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.8895, allocations: 3.906 kB / 1.28 GB, free: 7.875 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.358e-05/0.8895, allocations: 39.97 kB / 1.281 GB, free: 7.836 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.8896, allocations: 16 kB / 1.281 GB, free: 7.82 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/0.8907, allocations: 0.6374 MB / 1.281 GB, free: 7.184 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004272/0.895, allocations: 3.721 MB / 1.285 GB, free: 3.203 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.8964, allocations: 0.7323 MB / 1.286 GB, free: 2.461 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007178/0.8971, allocations: 438 kB / 1.286 GB, free: 2.031 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.118e-05/0.8971, allocations: 8.562 kB / 1.286 GB, free: 2.023 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007185/0.8979, allocations: 448 kB / 1.286 GB, free: 1.574 MB / 1.014 GB Notification: Performance of pre-optimization done (n=73): time 2.464e-06/0.8979, allocations: 0 / 1.286 GB, free: 1.574 MB / 1.014 GB Notification: Performance of matching and sorting (n=73): time 0.003746/0.9016, allocations: 1.834 MB / 1.288 GB, free: 15.69 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.9017, allocations: 64.05 kB / 1.288 GB, free: 15.61 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002872/0.9046, allocations: 3.363 MB / 1.291 GB, free: 12.23 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.315e-05/0.9046, allocations: 45.7 kB / 1.292 GB, free: 12.18 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006478/0.9053, allocations: 0.9214 MB / 1.292 GB, free: 11.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.9055, allocations: 236.7 kB / 1.293 GB, free: 11.01 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/0.9057, allocations: 134.7 kB / 1.293 GB, free: 10.88 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.9058, allocations: 337.9 kB / 1.293 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000618/0.9064, allocations: 325.8 kB / 1.293 GB, free: 10.22 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007028/0.9071, allocations: 476 kB / 1.294 GB, free: 9.703 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/0.9083, allocations: 0.7466 MB / 1.295 GB, free: 8.914 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.9084, allocations: 4 kB / 1.295 GB, free: 8.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002107/0.9105, allocations: 1.251 MB / 1.296 GB, free: 7.641 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.9105, allocations: 8.094 kB / 1.296 GB, free: 7.633 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.9105, allocations: 8 kB / 1.296 GB, free: 7.625 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006438/0.9112, allocations: 259.7 kB / 1.296 GB, free: 7.367 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004857/0.9117, allocations: 135.8 kB / 1.296 GB, free: 7.234 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004309/0.916, allocations: 4.744 MB / 1.301 GB, free: 2.219 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006305/0.9166, allocations: 99.17 kB / 1.301 GB, free: 2.121 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.286e-05/0.9167, allocations: 31.98 kB / 1.301 GB, free: 2.09 MB / 1.029 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.0007989/0.9175, allocations: 0.6109 MB / 1.302 GB, free: 1.473 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002205/0.9177, allocations: 213.3 kB / 1.302 GB, free: 1.262 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003541/0.9181, allocations: 265.1 kB / 1.302 GB, free: 0.9961 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.9181, allocations: 11.94 kB / 1.302 GB, free: 0.9844 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/0.9181, allocations: 4 kB / 1.302 GB, free: 0.9805 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.9181, allocations: 3.984 kB / 1.302 GB, free: 0.9766 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003708/0.9218, allocations: 2.409 MB / 1.304 GB, free: 14.5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.9219, allocations: 3.938 kB / 1.304 GB, free: 14.5 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000326/0.9222, allocations: 71.89 kB / 1.304 GB, free: 14.43 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006102/0.9228, allocations: 251.6 kB / 1.305 GB, free: 14.18 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.856e-05/0.9229, allocations: 27.92 kB / 1.305 GB, free: 14.15 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004828/0.9277, allocations: 4.743 MB / 1.309 GB, free: 9.133 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.9277, allocations: 0 / 1.309 GB, free: 9.133 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002795/0.9305, allocations: 1.63 MB / 1.311 GB, free: 7.477 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000499/0.9311, allocations: 322.3 kB / 1.311 GB, free: 7.141 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.9312, allocations: 24 kB / 1.311 GB, free: 7.117 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004475/0.9317, allocations: 35.95 kB / 1.311 GB, free: 7.082 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/0.9319, allocations: 76.55 kB / 1.311 GB, free: 7.004 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.687e-05/0.9319, allocations: 23.98 kB / 1.311 GB, free: 6.98 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002602/0.9345, allocations: 2.464 MB / 1.314 GB, free: 4.504 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9345, allocations: 0 / 1.314 GB, free: 4.504 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0009502/0.9355, allocations: 303.5 kB / 1.314 GB, free: 4.207 MB / 1.045 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.004044/0.9395, allocations: 2.577 MB / 1.317 GB, free: 1.789 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002017/0.9416, allocations: 1.098 MB / 1.318 GB, free: 0.6641 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.9416, allocations: 0 / 1.318 GB, free: 0.6641 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.9427, allocations: 0.6984 MB / 1.318 GB, free: 15.94 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.944, allocations: 298.7 kB / 1.319 GB, free: 15.66 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01802/0.9621, allocations: 14.09 MB / 1.332 GB, free: 1.301 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001169/0.9633, allocations: 1.556 MB / 1.334 GB, free: 15.71 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004215/0.9637, allocations: 154.6 kB / 1.334 GB, free: 15.55 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007841/0.9645, allocations: 0.7453 MB / 1.335 GB, free: 14.81 MB / 1.076 GB Notification: Performance of SimCode: time 6.81e-07/0.9645, allocations: 0 / 1.335 GB, free: 14.81 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.479/2.444, allocations: 34.19 MB / 1.368 GB, free: 12.99 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.8/16.24, allocations: 5.906 kB / 1.368 GB, free: 12.99 MB / 1.107 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)