Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.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.Compressor,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",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.541/2.541, allocations: 390.3 MB / 405.3 MB, free: 13.55 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.001296/0.001296, allocations: 188.2 kB / 498.1 MB, free: 5.812 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.647/1.647, allocations: 223.2 MB / 0.7948 GB, free: 17.95 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.0009541/0.0009543, allocations: 94.92 kB / 0.9346 GB, free: 6.273 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004092/0.0004092, allocations: 13.81 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.2999, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1941/0.4941, allocations: 159.3 MB / 1.379 GB, free: 2.715 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/0.4944, allocations: 107.9 kB / 1.379 GB, free: 2.609 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02458/0.519, allocations: 9.053 MB / 1.387 GB, free: 9.535 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.014e-06/0.519, allocations: 0 / 1.387 GB, free: 9.535 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.988e-05/0.5191, allocations: 15.98 kB / 1.387 GB, free: 9.52 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001368/0.5205, allocations: 0.6746 MB / 1.388 GB, free: 8.797 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.5205, allocations: 11.97 kB / 1.388 GB, free: 8.785 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001274/0.5207, allocations: 70.53 kB / 1.388 GB, free: 8.707 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.5208, allocations: 47.39 kB / 1.388 GB, free: 8.66 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008176/0.5217, allocations: 401.5 kB / 1.389 GB, free: 8.227 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.144e-05/0.5217, allocations: 20.5 kB / 1.389 GB, free: 8.207 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.821e-05/0.5218, allocations: 24 kB / 1.389 GB, free: 8.184 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006017/0.5224, allocations: 296.5 kB / 1.389 GB, free: 7.875 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.5224, allocations: 0 / 1.389 GB, free: 7.875 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.569e-05/0.5224, allocations: 15.98 kB / 1.389 GB, free: 7.859 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.5225, allocations: 7.953 kB / 1.389 GB, free: 7.852 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004566/0.5229, allocations: 206.1 kB / 1.389 GB, free: 7.652 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/0.5244, allocations: 0.85 MB / 1.39 GB, free: 6.746 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008084/0.5253, allocations: 267 kB / 1.39 GB, free: 6.477 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.209e-05/0.5253, allocations: 11.92 kB / 1.39 GB, free: 6.465 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003297/0.5256, allocations: 153.6 kB / 1.39 GB, free: 6.301 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=21): time 2.164e-06/0.5256, allocations: 0 / 1.39 GB, free: 6.301 MB / 0.8855 GB Notification: Performance of matching and sorting (n=21): time 0.000816/0.5265, allocations: 341.8 kB / 1.391 GB, free: 5.965 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.124e-05/0.5266, allocations: 110.8 kB / 1.391 GB, free: 5.832 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005051/0.5271, allocations: 376.8 kB / 1.391 GB, free: 5.457 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/0.5271, allocations: 37.64 kB / 1.391 GB, free: 5.414 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.5273, allocations: 204.3 kB / 1.391 GB, free: 5.207 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.082e-05/0.5274, allocations: 59.11 kB / 1.392 GB, free: 5.148 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.404e-05/0.5274, allocations: 4 kB / 1.392 GB, free: 5.145 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001888/0.5276, allocations: 350.8 kB / 1.392 GB, free: 4.793 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/0.5278, allocations: 87.89 kB / 1.392 GB, free: 4.707 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.528, allocations: 116.2 kB / 1.392 GB, free: 4.578 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.5282, allocations: 93.12 kB / 1.392 GB, free: 4.488 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5283, allocations: 0 / 1.392 GB, free: 4.488 MB / 0.8855 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005413/0.5288, allocations: 266.3 kB / 1.392 GB, free: 4.223 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.5288, allocations: 4 kB / 1.392 GB, free: 4.219 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.5289, allocations: 8.062 kB / 1.392 GB, free: 4.211 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.5289, allocations: 0 / 1.392 GB, free: 4.211 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.5291, allocations: 47.91 kB / 1.392 GB, free: 4.164 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.5291, allocations: 3.953 kB / 1.392 GB, free: 4.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.5293, allocations: 31.73 kB / 1.392 GB, free: 4.129 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.5293, allocations: 8 kB / 1.392 GB, free: 4.121 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.cooMod.nextTimeEvent,$whenCondition2,dxSpeCon.dxSpe.trigger,dxSpeCon.cooMod,cooMod.nextTimeEvent,$PRE.cooMod.nextTimeEventScaled,cooMod.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001999/0.5295, allocations: 175.8 kB / 1.393 GB, free: 3.941 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.77e-05/0.5296, allocations: 35.53 kB / 1.393 GB, free: 3.906 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005996/0.5302, allocations: 278.4 kB / 1.393 GB, free: 3.633 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.5302, allocations: 4 kB / 1.393 GB, free: 3.629 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.5303, allocations: 0 / 1.393 GB, free: 3.629 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.5303, allocations: 7.953 kB / 1.393 GB, free: 3.621 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.5314, allocations: 0.7574 MB / 1.394 GB, free: 2.809 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.5314, allocations: 0 / 1.394 GB, free: 2.809 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/0.5316, allocations: 39.91 kB / 1.394 GB, free: 2.77 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.5317, allocations: 4 kB / 1.394 GB, free: 2.766 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.5317, allocations: 8 kB / 1.394 GB, free: 2.758 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.5317, allocations: 3.953 kB / 1.394 GB, free: 2.754 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5317, allocations: 0 / 1.394 GB, free: 2.754 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007976/0.5325, allocations: 478.9 kB / 1.394 GB, free: 2.27 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/0.5327, allocations: 144.6 kB / 1.394 GB, free: 2.109 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.223e-05/0.5328, allocations: 8 kB / 1.394 GB, free: 2.102 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.533, allocations: 15.98 kB / 1.394 GB, free: 2.086 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.858e-05/0.533, allocations: 27.91 kB / 1.394 GB, free: 2.059 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.5331, allocations: 4 kB / 1.394 GB, free: 2.055 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003418/0.5334, allocations: 311.1 kB / 1.395 GB, free: 1.754 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5334, allocations: 0 / 1.395 GB, free: 1.754 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003635/0.5338, allocations: 79.83 kB / 1.395 GB, free: 1.676 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dxSpeCon.dxSpe.I.y) * Number of discrete variables: 6 (dxSpeCon.dxSpe.trigger,$whenCondition2,$whenCondition1,dxSpeCon.cooMod,cooMod.nextTimeEvent,cooMod.nextTimeEventScaled) * Number of discrete states: 2 (cooMod.nextTimeEvent,cooMod.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001987/0.5358, allocations: 1.335 MB / 1.396 GB, free: 488 kB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004955/0.5363, allocations: 207.8 kB / 1.396 GB, free: 280 kB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.5363, allocations: 0 / 1.396 GB, free: 280 kB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002374/0.5366, allocations: 108.6 kB / 1.396 GB, free: 172 kB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.537, allocations: 87.2 kB / 1.396 GB, free: 88 kB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003474/0.5405, allocations: 2.346 MB / 1.399 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/0.541, allocations: 0.807 MB / 1.4 GB, free: 12.84 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000212/0.5412, allocations: 50.94 kB / 1.4 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/0.5414, allocations: 127.4 kB / 1.4 GB, free: 12.67 MB / 0.9011 GB Notification: Performance of SimCode: time 4.91e-07/0.5414, allocations: 0 / 1.4 GB, free: 12.67 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02234/0.5637, allocations: 7.64 MB / 1.407 GB, free: 5.258 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/0.564, allocations: 254.7 kB / 1.407 GB, free: 4.977 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.286/2.85, allocations: 0 / 1.407 GB, free: 4.977 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat --tempDir=temp_Buildings_9_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.fmu > Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat does not exist to compare? outputFormat=mat