Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_10_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_10_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008911/0.0008914, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.005152/0.005152, allocations: 170.2 kB / 16.27 MB, free: 6.652 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.242/1.242, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.33/2.33, allocations: 437.8 MB / 0.7121 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003074/0.0003074, allocations: 8 kB / 0.873 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5288/0.5291, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003079/0.5322, allocations: 2.496 MB / 1.026 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002059/0.5343, allocations: 1.294 MB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002438/0.5346, allocations: 11.94 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004034/0.535, allocations: 127.5 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003104/0.5353, allocations: 123.4 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000657/0.536, allocations: 275.2 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005079/0.5365, allocations: 443.4 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002957/0.5368, allocations: 188.8 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000224/0.537, allocations: 139.2 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002086/0.5373, allocations: 159.1 kB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.123e-05/0.5373, allocations: 8 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.5374, allocations: 39.98 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.695e-05/0.5375, allocations: 59.64 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.5377, allocations: 176.6 kB / 1.029 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004418/0.5381, allocations: 486.2 kB / 1.029 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.5381, allocations: 8 kB / 1.029 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5381, allocations: 0 / 1.029 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.177e-05/0.5381, allocations: 0 / 1.029 GB, free: 9.863 MB / 0.7794 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.0009324/0.5391, allocations: 0.6309 MB / 1.03 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.5391, allocations: 12.03 kB / 1.03 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.291e-05/0.5392, allocations: 62.72 kB / 1.03 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.486e-05/0.5393, allocations: 44.38 kB / 1.03 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004982/0.5398, allocations: 406.6 kB / 1.03 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.381e-05/0.5398, allocations: 16.94 kB / 1.03 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.805e-05/0.5399, allocations: 31.91 kB / 1.03 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004857/0.5404, allocations: 279.7 kB / 1.03 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.5404, allocations: 0 / 1.03 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.638e-05/0.5404, allocations: 8 kB / 1.03 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.5404, allocations: 8 kB / 1.03 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004036/0.5408, allocations: 186.1 kB / 1.031 GB, free: 8.094 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.5421, allocations: 0.888 MB / 1.031 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006716/0.5428, allocations: 231 kB / 1.032 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/0.543, allocations: 88.83 kB / 1.032 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.543, allocations: 8 kB / 1.032 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003078/0.5433, allocations: 141.1 kB / 1.032 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.5433, allocations: 0 / 1.032 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0006522/0.544, allocations: 298.5 kB / 1.032 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.544, allocations: 51.41 kB / 1.032 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004037/0.5444, allocations: 413.7 kB / 1.033 GB, free: 5.895 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.5445, allocations: 29.7 kB / 1.033 GB, free: 5.859 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.5446, allocations: 216 kB / 1.033 GB, free: 5.645 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.01e-05/0.5447, allocations: 63.11 kB / 1.033 GB, free: 5.582 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-05/0.5447, allocations: 33.7 kB / 1.033 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.5449, allocations: 358.7 kB / 1.033 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.545, allocations: 64.44 kB / 1.033 GB, free: 5.121 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.5452, allocations: 119.2 kB / 1.033 GB, free: 4.988 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003611/0.5456, allocations: 189.2 kB / 1.034 GB, free: 4.789 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.5456, allocations: 4 kB / 1.034 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004879/0.5461, allocations: 265 kB / 1.034 GB, free: 4.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.5461, allocations: 9.719 kB / 1.034 GB, free: 4.512 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.5461, allocations: 0 / 1.034 GB, free: 4.512 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.5462, allocations: 4 kB / 1.034 GB, free: 4.508 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.5464, allocations: 52.06 kB / 1.034 GB, free: 4.457 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.5464, allocations: 4 kB / 1.034 GB, free: 4.453 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.5465, allocations: 27.69 kB / 1.034 GB, free: 4.426 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.5466, allocations: 11.98 kB / 1.034 GB, free: 4.414 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.cooMod.nextTimeEvent,$whenCondition1,reaToInt.y,cooMod.nextTimeEventScaled,$PRE.cooMod.nextTimeEventScaled,cooMod.nextTimeEvent,dxSpeCon.not1.y,$whenCondition2,dxSpeCon.conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001521/0.5467, allocations: 169.7 kB / 1.034 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.327e-05/0.5468, allocations: 35.53 kB / 1.034 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.805e-05/0.5469, allocations: 43.59 kB / 1.034 GB, free: 4.156 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.5469, allocations: 4 kB / 1.034 GB, free: 4.152 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.5469, allocations: 0 / 1.034 GB, free: 4.152 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.5469, allocations: 3.938 kB / 1.034 GB, free: 4.148 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008888/0.5478, allocations: 0.6778 MB / 1.035 GB, free: 3.414 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.5478, allocations: 4 kB / 1.035 GB, free: 3.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.548, allocations: 31.97 kB / 1.035 GB, free: 3.379 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.548, allocations: 4 kB / 1.035 GB, free: 3.375 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.548, allocations: 7.938 kB / 1.035 GB, free: 3.367 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.548, allocations: 0 / 1.035 GB, free: 3.367 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.548, allocations: 4 kB / 1.035 GB, free: 3.363 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000673/0.5487, allocations: 428.6 kB / 1.035 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.5488, allocations: 132.6 kB / 1.036 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.5489, allocations: 8 kB / 1.036 GB, free: 2.773 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.549, allocations: 11.98 kB / 1.036 GB, free: 2.762 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.89e-05/0.5491, allocations: 15.98 kB / 1.036 GB, free: 2.746 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.5491, allocations: 7.984 kB / 1.036 GB, free: 2.738 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002813/0.5494, allocations: 295.2 kB / 1.036 GB, free: 2.449 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5494, allocations: 4.062 kB / 1.036 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003126/0.5497, allocations: 67.75 kB / 1.036 GB, free: 2.379 MB / 0.7794 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.not1.y,$whenCondition2,$whenCondition1,cooMod.nextTimeEvent,cooMod.nextTimeEventScaled,reaToInt.y) * Number of discrete states: 2 (cooMod.nextTimeEvent,cooMod.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00167/0.5514, allocations: 1.289 MB / 1.037 GB, free: 1.227 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004117/0.5518, allocations: 181.5 kB / 1.037 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5518, allocations: 0 / 1.037 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001995/0.552, allocations: 96.2 kB / 1.037 GB, free: 0.957 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005324/0.5526, allocations: 79.94 kB / 1.038 GB, free: 0.8828 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00392/0.5565, allocations: 3.234 MB / 1.041 GB, free: 13.54 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.5569, allocations: 0.7992 MB / 1.041 GB, free: 12.71 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001668/0.557, allocations: 42.97 kB / 1.041 GB, free: 12.67 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.5572, allocations: 127.4 kB / 1.042 GB, free: 12.55 MB / 0.795 GB Notification: Performance of SimCode: time 4.31e-07/0.5572, allocations: 0 / 1.042 GB, free: 12.55 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01661/0.5738, allocations: 6.865 MB / 1.048 GB, free: 5.902 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002452/0.5741, allocations: 275.4 kB / 1.049 GB, free: 5.543 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/2.273, allocations: 2.031 kB / 1.049 GB, free: 5.543 MB / 0.795 GB (rm -f Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat --tempDir=temp_Buildings_10_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.fmu > Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches