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.434/2.434, allocations: 387.1 MB / 399.7 MB, free: 9.445 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.001307/0.001308, allocations: 180.8 kB / 492.3 MB, free: 0.6133 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.552/1.552, allocations: 221.3 MB / 0.7871 GB, free: 12.97 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.0008959/0.000896, allocations: 98.48 kB / 0.9267 GB, free: 14.05 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.847e-05/3.864e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2751, allocations: 142.3 MB / 1.212 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8816/1.157, allocations: 159.2 MB / 1.368 GB, free: 19.03 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/1.157, allocations: 98.55 kB / 1.368 GB, free: 19.03 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02214/1.179, allocations: 9.017 MB / 1.377 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.293e-06/1.179, allocations: 0 / 1.377 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.698e-05/1.179, allocations: 7.531 kB / 1.377 GB, free: 34.21 MB / 0.8386 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.0009805/1.18, allocations: 0.6248 MB / 1.378 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/1.18, allocations: 11.53 kB / 1.378 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.668e-05/1.181, allocations: 55.23 kB / 1.378 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/1.181, allocations: 46.83 kB / 1.378 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006565/1.181, allocations: 400.9 kB / 1.378 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/1.181, allocations: 22.56 kB / 1.378 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.854e-05/1.181, allocations: 24.78 kB / 1.378 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004411/1.182, allocations: 269 kB / 1.378 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/1.182, allocations: 0 / 1.378 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.84e-05/1.182, allocations: 17.25 kB / 1.378 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/1.182, allocations: 3.656 kB / 1.378 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002823/1.182, allocations: 178 kB / 1.379 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/1.183, allocations: 0.8474 MB / 1.379 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005386/1.184, allocations: 242.9 kB / 1.38 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/1.184, allocations: 87.75 kB / 1.38 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/1.184, allocations: 3.875 kB / 1.38 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000206/1.184, allocations: 132.8 kB / 1.38 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=21): time 1.733e-06/1.184, allocations: 0 / 1.38 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21): time 0.00038/1.185, allocations: 234.7 kB / 1.38 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/1.185, allocations: 106.6 kB / 1.38 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003769/1.185, allocations: 385.9 kB / 1.38 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/1.185, allocations: 28.89 kB / 1.381 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/1.185, allocations: 206.5 kB / 1.381 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.622e-05/1.185, allocations: 67.23 kB / 1.381 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.186e-05/1.185, allocations: 6.906 kB / 1.381 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001078/1.185, allocations: 345.1 kB / 1.381 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/1.186, allocations: 61.97 kB / 1.381 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/1.186, allocations: 119.2 kB / 1.381 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/1.186, allocations: 66.05 kB / 1.381 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/1.186, allocations: 0 / 1.381 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003257/1.186, allocations: 239.7 kB / 1.382 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/1.186, allocations: 7.062 kB / 1.382 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/1.186, allocations: 0 / 1.382 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/1.186, allocations: 0 / 1.382 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/1.186, allocations: 46.39 kB / 1.382 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/1.186, allocations: 11.81 kB / 1.382 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001726/1.187, allocations: 22.56 kB / 1.382 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/1.187, allocations: 6.656 kB / 1.382 GB, free: 31.79 MB / 0.8386 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 () * 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 8.909e-05/1.187, allocations: 124.1 kB / 1.382 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.586e-05/1.187, allocations: 38.94 kB / 1.382 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003913/1.187, allocations: 256.3 kB / 1.382 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/1.187, allocations: 3.875 kB / 1.382 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/1.187, allocations: 0 / 1.382 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/1.187, allocations: 3.953 kB / 1.382 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007509/1.188, allocations: 0.7177 MB / 1.383 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/1.188, allocations: 0 / 1.383 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/1.188, allocations: 38.56 kB / 1.383 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/1.188, allocations: 7.812 kB / 1.383 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/1.188, allocations: 3.25 kB / 1.383 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/1.188, allocations: 3.953 kB / 1.383 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/1.188, allocations: 3.844 kB / 1.383 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005024/1.189, allocations: 435.2 kB / 1.383 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/1.189, allocations: 152.5 kB / 1.383 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.964e-05/1.189, allocations: 6.969 kB / 1.383 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/1.189, allocations: 19.02 kB / 1.383 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.214e-05/1.189, allocations: 23.08 kB / 1.383 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/1.189, allocations: 6.812 kB / 1.383 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000279/1.19, allocations: 301.8 kB / 1.384 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.19, allocations: 0 / 1.384 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003213/1.19, allocations: 73.19 kB / 1.384 GB, free: 30.69 MB / 0.8386 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) * 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.001413/1.191, allocations: 1.261 MB / 1.385 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002742/1.192, allocations: 166.3 kB / 1.385 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.192, allocations: 3.844 kB / 1.385 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001278/1.192, allocations: 93.05 kB / 1.385 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/1.192, allocations: 85 kB / 1.385 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/1.193, allocations: 0.5583 MB / 1.386 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/1.194, allocations: 0.8071 MB / 1.387 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001763/1.194, allocations: 49.81 kB / 1.387 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/1.194, allocations: 127.5 kB / 1.387 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.194, allocations: 0 / 1.387 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01995/1.214, allocations: 7.574 MB / 1.394 GB, free: 25.2 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001546/1.214, allocations: 208.7 kB / 1.394 GB, free: 24.98 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.158/3.372, allocations: 0 / 1.394 GB, free: 24.98 MB / 0.8386 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