Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.414/2.414, allocations: 390.3 MB / 402.8 MB, free: 6.727 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.001285/0.001286, allocations: 172.9 kB / 496.1 MB, free: 12.9 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.0009496/0.0009496, allocations: 87.97 kB / 0.9317 GB, free: 5.727 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.104e-05/3.115e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2915, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.234/4.526, allocations: 1.734 GB / 2.953 GB, free: 65.96 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/4.526, allocations: 95.94 kB / 2.953 GB, free: 65.86 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1408/4.667, allocations: 65.52 MB / 3.017 GB, free: 44 kB / 1.151 GB Notification: Performance of FrontEnd: time 3.086e-06/4.667, allocations: 0 / 3.017 GB, free: 44 kB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001887/4.667, allocations: 32 kB / 3.017 GB, free: 12 kB / 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.934/5.601, allocations: 1.341 MB / 3.018 GB, free: 381.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 7.732e-05/5.601, allocations: 9.031 kB / 3.018 GB, free: 381.8 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003813/5.602, allocations: 179.2 kB / 3.019 GB, free: 381.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/5.603, allocations: 226.8 kB / 3.019 GB, free: 381.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001883/5.605, allocations: 0.7566 MB / 3.02 GB, free: 381.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/5.605, allocations: 97.23 kB / 3.02 GB, free: 381.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000221/5.605, allocations: 126.6 kB / 3.02 GB, free: 381.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002978/5.608, allocations: 1.219 MB / 3.021 GB, free: 381.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.739e-05/5.608, allocations: 0 / 3.021 GB, free: 381.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/5.608, allocations: 47.8 kB / 3.021 GB, free: 381.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.023e-05/5.609, allocations: 47.03 kB / 3.021 GB, free: 381.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003064/5.612, allocations: 1.374 MB / 3.022 GB, free: 381.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007623/5.619, allocations: 3.521 MB / 3.026 GB, free: 380.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/5.621, allocations: 1.015 MB / 3.027 GB, free: 380.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008381/5.622, allocations: 416.4 kB / 3.027 GB, free: 380.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001621/5.622, allocations: 35.44 kB / 3.027 GB, free: 380.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001327/5.624, allocations: 0.5843 MB / 3.028 GB, free: 380.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=118): time 4.759e-06/5.624, allocations: 4.125 kB / 3.028 GB, free: 380.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=118): time 0.002791/5.627, allocations: 0.9537 MB / 3.029 GB, free: 380.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/5.627, allocations: 260.2 kB / 3.029 GB, free: 379.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/5.628, allocations: 0.6803 MB / 3.03 GB, free: 379.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001237/5.628, allocations: 64.31 kB / 3.03 GB, free: 379.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004629/5.629, allocations: 469.6 kB / 3.03 GB, free: 379.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003549/5.629, allocations: 345.8 kB / 3.031 GB, free: 379.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-05/5.629, allocations: 25.72 kB / 3.031 GB, free: 379.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0002364/5.629, allocations: 408.6 kB / 3.031 GB, free: 379 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007129/5.63, allocations: 340.1 kB / 3.031 GB, free: 379 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008861/5.631, allocations: 0.5023 MB / 3.032 GB, free: 378.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008432/5.632, allocations: 392.8 kB / 3.032 GB, free: 378.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/5.632, allocations: 1.312 kB / 3.032 GB, free: 378.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002591/5.634, allocations: 1.081 MB / 3.033 GB, free: 378.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/5.634, allocations: 6.031 kB / 3.033 GB, free: 378.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/5.634, allocations: 2.906 kB / 3.033 GB, free: 378.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006656/5.635, allocations: 89.33 kB / 3.033 GB, free: 378.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008469/5.636, allocations: 192 kB / 3.033 GB, free: 378.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/5.638, allocations: 1.526 MB / 3.035 GB, free: 377.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/5.639, allocations: 138.3 kB / 3.035 GB, free: 377.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/5.639, allocations: 49.05 kB / 3.035 GB, free: 377.4 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.0003588/5.64, allocations: 200.4 kB / 3.035 GB, free: 377.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002133/5.64, allocations: 98.83 kB / 3.035 GB, free: 377.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003311/5.643, allocations: 1.3 MB / 3.037 GB, free: 377.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/5.643, allocations: 14.41 kB / 3.037 GB, free: 377.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/5.643, allocations: 1.469 kB / 3.037 GB, free: 377.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-05/5.643, allocations: 6.797 kB / 3.037 GB, free: 377.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00632/5.649, allocations: 2.582 MB / 3.039 GB, free: 376.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/5.65, allocations: 10.08 kB / 3.039 GB, free: 376.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007636/5.65, allocations: 174.5 kB / 3.039 GB, free: 376.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005638/5.651, allocations: 90.05 kB / 3.039 GB, free: 376.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-05/5.651, allocations: 33.19 kB / 3.04 GB, free: 376.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001824/5.653, allocations: 1.552 MB / 3.041 GB, free: 375.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/5.653, allocations: 3.359 kB / 3.041 GB, free: 375.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002604/5.655, allocations: 1.188 MB / 3.042 GB, free: 375.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006602/5.656, allocations: 335.3 kB / 3.043 GB, free: 375.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/5.656, allocations: 29.33 kB / 3.043 GB, free: 375.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007787/5.657, allocations: 106 kB / 3.043 GB, free: 375.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003394/5.657, allocations: 116.5 kB / 3.043 GB, free: 375.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/5.658, allocations: 50.11 kB / 3.043 GB, free: 375.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009196/5.658, allocations: 0.5086 MB / 3.043 GB, free: 375 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/5.658, allocations: 0 / 3.043 GB, free: 375 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002138/5.661, allocations: 436.4 kB / 3.044 GB, free: 374.9 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.005504/5.666, allocations: 2.698 MB / 3.046 GB, free: 374.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002546/5.669, allocations: 1.052 MB / 3.047 GB, free: 373.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/5.669, allocations: 1.031 kB / 3.047 GB, free: 373.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00127/5.67, allocations: 0.6553 MB / 3.048 GB, free: 373.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/5.672, allocations: 273.5 kB / 3.048 GB, free: 373.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005987/5.678, allocations: 2.018 MB / 3.05 GB, free: 373.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009513/5.679, allocations: 1.147 MB / 3.051 GB, free: 372.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001303/5.68, allocations: 308.7 kB / 3.052 GB, free: 372.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007746/5.681, allocations: 481.7 kB / 3.052 GB, free: 372.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.863e-06/5.681, allocations: 0 / 3.052 GB, free: 372.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1034/5.784, allocations: 36.75 MB / 3.088 GB, free: 369.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002211/5.784, allocations: 259 kB / 3.088 GB, free: 369.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.831/9.615, allocations: 0 / 3.088 GB, free: 369.4 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode_fmu --startTime=8.928e+06 --stopTime=9e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode.fmu > Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode_res.mat does not exist to compare? outputFormat=mat