Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.523/2.523, allocations: 387.1 MB / 399.7 MB, free: 9.527 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 184.4 kB / 492.3 MB, free: 0.6445 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.797/1.797, allocations: 221.3 MB / 0.7871 GB, free: 12.92 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 91.89 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.868e-05/3.87e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2499, allocations: 142.3 MB / 1.212 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.08/4.33, allocations: 1.733 GB / 2.946 GB, free: 105.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003036/4.33, allocations: 99.69 kB / 2.946 GB, free: 105.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.144/4.474, allocations: 65.53 MB / 3.01 GB, free: 45.34 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.733e-06/4.474, allocations: 0 / 3.01 GB, free: 45.34 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001499/4.474, allocations: 35.94 kB / 3.01 GB, free: 45.3 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.002596/4.477, allocations: 1.345 MB / 3.011 GB, free: 43.89 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/4.477, allocations: 8.031 kB / 3.011 GB, free: 43.88 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002635/4.477, allocations: 181.5 kB / 3.011 GB, free: 43.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/4.478, allocations: 222.1 kB / 3.012 GB, free: 43.48 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/4.48, allocations: 0.7602 MB / 3.012 GB, free: 42.68 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.939e-05/4.48, allocations: 94.36 kB / 3.013 GB, free: 42.58 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/4.48, allocations: 127.9 kB / 3.013 GB, free: 42.46 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001953/4.482, allocations: 1.222 MB / 3.014 GB, free: 41.17 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/4.482, allocations: 0 / 3.014 GB, free: 41.17 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/4.482, allocations: 51.98 kB / 3.014 GB, free: 41.12 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.199e-05/4.482, allocations: 42.28 kB / 3.014 GB, free: 41.07 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001884/4.484, allocations: 1.363 MB / 3.015 GB, free: 39.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005058/4.489, allocations: 3.536 MB / 3.019 GB, free: 36.08 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/4.49, allocations: 1.003 MB / 3.02 GB, free: 35.08 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005286/4.491, allocations: 421.4 kB / 3.02 GB, free: 34.66 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/4.491, allocations: 33.03 kB / 3.02 GB, free: 34.63 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008194/4.492, allocations: 0.5905 MB / 3.021 GB, free: 34.02 MB / 1.151 GB Notification: Performance of pre-optimization done (n=118): time 3.546e-06/4.492, allocations: 7.938 kB / 3.021 GB, free: 34.01 MB / 1.151 GB Notification: Performance of matching and sorting (n=118): time 0.001972/4.494, allocations: 0.9541 MB / 3.022 GB, free: 33.05 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.251e-05/4.494, allocations: 252.3 kB / 3.022 GB, free: 32.75 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008635/4.495, allocations: 0.6793 MB / 3.023 GB, free: 32.06 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.977e-05/4.495, allocations: 61.7 kB / 3.023 GB, free: 32 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002526/4.495, allocations: 472.8 kB / 3.023 GB, free: 31.53 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000199/4.495, allocations: 343.2 kB / 3.023 GB, free: 31.19 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.027e-05/4.495, allocations: 23.94 kB / 3.023 GB, free: 31.16 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001111/4.496, allocations: 410.7 kB / 3.024 GB, free: 30.75 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005193/4.496, allocations: 338.6 kB / 3.024 GB, free: 30.42 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006214/4.497, allocations: 0.5057 MB / 3.025 GB, free: 29.86 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005826/4.497, allocations: 392.9 kB / 3.025 GB, free: 29.48 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/4.497, allocations: 0 / 3.025 GB, free: 29.48 MB / 1.151 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.00195/4.499, allocations: 1.082 MB / 3.026 GB, free: 28.39 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/4.499, allocations: 8.281 kB / 3.026 GB, free: 28.38 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/4.499, allocations: 4 kB / 3.026 GB, free: 28.38 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005937/4.5, allocations: 88.77 kB / 3.026 GB, free: 28.29 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007069/4.501, allocations: 187.7 kB / 3.026 GB, free: 28.11 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/4.502, allocations: 1.517 MB / 3.028 GB, free: 26.45 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000792/4.503, allocations: 139.2 kB / 3.028 GB, free: 26.32 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.551e-05/4.503, allocations: 51.97 kB / 3.028 GB, free: 26.27 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 66 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$PRE.cooModCon.con3.enableFire,$PRE.cooModCon.con4.enableFire,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.con1.enableFire,cooModCon.con1.fire,$PRE.cooModCon.con1.t_start,cooModCon.con1.t_start,cooModCon.con1.condition,$PRE.cooModCon.parMecCoo.localActive,cooModCon.parMecCoo.localActive,cooModCon.parMecCoo.inPort[2].occupied,cooModCon.parMecCoo.outPort[2].available,$PRE.cooModCon.parMecCoo.newActive,cooModCon.parMecCoo.newActive,$PRE.cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.active,$PRE.cooModCon.freCoo.localActive,cooModCon.freCoo.localActive,$PRE.cooModCon.freCoo.newActive,cooModCon.freCoo.newActive,$PRE.cooModCon.freCoo.oldActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,$PRE.cooModCon.fulMecCoo.localActive,cooModCon.fulMecCoo.localActive,$PRE.cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.newActive,$PRE.cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con2.enableFire,cooModCon.con2.fire,$PRE.cooModCon.con2.t_start,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.con3.enableFire,cooModCon.con3.fire,$PRE.cooModCon.con3.t_start,cooModCon.con3.t_start,cooModCon.con3.condition,cooModCon.con4.enableFire,cooModCon.con4.fire,$PRE.cooModCon.con4.t_start,cooModCon.con4.t_start,cooModCon.con4.condition,cooModCon.stateGraphRoot.activeSteps,$PRE.cooModCon.swi.y,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,cooModCon.swi.expr[1],cooModCon.swi.expr[2],cooModCon.swi.expr[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002214/4.503, allocations: 200.9 kB / 3.028 GB, free: 26.07 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001702/4.504, allocations: 98.78 kB / 3.028 GB, free: 25.97 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002355/4.506, allocations: 1.309 MB / 3.03 GB, free: 24.64 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/4.506, allocations: 16 kB / 3.03 GB, free: 24.62 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/4.506, allocations: 0 / 3.03 GB, free: 24.62 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/4.506, allocations: 7.969 kB / 3.03 GB, free: 24.62 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003741/4.51, allocations: 2.581 MB / 3.032 GB, free: 21.98 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/4.51, allocations: 0 / 3.032 GB, free: 21.98 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006853/4.51, allocations: 187.6 kB / 3.032 GB, free: 21.79 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004969/4.511, allocations: 80.78 kB / 3.032 GB, free: 21.71 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.739e-05/4.511, allocations: 31.98 kB / 3.032 GB, free: 21.68 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001443/4.513, allocations: 1.552 MB / 3.034 GB, free: 19.98 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/4.513, allocations: 0 / 3.034 GB, free: 19.98 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001917/4.514, allocations: 1.192 MB / 3.035 GB, free: 18.77 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004867/4.515, allocations: 339.3 kB / 3.035 GB, free: 18.42 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/4.515, allocations: 31.98 kB / 3.035 GB, free: 18.39 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007685/4.516, allocations: 103.9 kB / 3.036 GB, free: 18.29 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002257/4.516, allocations: 117.1 kB / 3.036 GB, free: 18.17 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.237e-05/4.516, allocations: 47.98 kB / 3.036 GB, free: 18.12 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006169/4.517, allocations: 0.507 MB / 3.036 GB, free: 17.62 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.8e-07/4.517, allocations: 4 kB / 3.036 GB, free: 17.62 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001399/4.518, allocations: 431.2 kB / 3.037 GB, free: 17.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 47 (cooModCon.con3.enableFire,cooModCon.con4.enableFire,cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,cooModCon.parMecCoo.localActive,$cse18,$cse19,$cse20,$cse21,$cse22,$cse23,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.con1.fire,cooModCon.con1.t_start,cooModCon.con1.condition,cooModCon.parMecCoo.inPort[2].occupied,cooModCon.parMecCoo.outPort[2].available,cooModCon.parMecCoo.newActive,cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.active,cooModCon.freCoo.newActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con2.fire,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.con3.fire,cooModCon.con3.t_start,cooModCon.con3.condition,cooModCon.con4.fire,cooModCon.con4.t_start,cooModCon.con4.condition,cooModCon.stateGraphRoot.activeSteps,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 6 (cooModCon.parMecCoo.newActive,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y,weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003599/4.522, allocations: 2.702 MB / 3.039 GB, free: 14.62 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001673/4.524, allocations: 1.057 MB / 3.04 GB, free: 13.55 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/4.524, allocations: 0 / 3.04 GB, free: 13.55 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008531/4.524, allocations: 0.6387 MB / 3.041 GB, free: 12.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/4.526, allocations: 273.1 kB / 3.041 GB, free: 12.64 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004476/4.53, allocations: 2.019 MB / 3.043 GB, free: 10.58 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004546/4.531, allocations: 1.148 MB / 3.044 GB, free: 9.406 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008933/4.532, allocations: 308.7 kB / 3.045 GB, free: 9.102 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005825/4.532, allocations: 487.2 kB / 3.045 GB, free: 8.625 MB / 1.151 GB Notification: Performance of SimCode: time 6.02e-07/4.532, allocations: 0 / 3.045 GB, free: 8.625 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6787/5.211, allocations: 36.73 MB / 3.081 GB, free: 380 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/5.211, allocations: 248 kB / 3.081 GB, free: 379.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.719/8.93, allocations: 0 / 3.081 GB, free: 379.7 MB / 1.151 GB (rm -f Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode_res.mat --tempDir=temp_Buildings_9_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode_fmu --startTime=8.928e+06 --stopTime=9e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode.fmu > Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode_res.mat does not exist to compare? outputFormat=mat