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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007831/0.007831, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.001772/0.001772, allocations: 191.2 kB / 16.67 MB, free: 5.52 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.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.141/2.141, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 67.89 kB / 0.9504 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6776/0.6788, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003973/0.6828, allocations: 2.831 MB / 1.09 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002255/0.6851, allocations: 1.344 MB / 1.092 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000302/0.6854, allocations: 11.84 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005088/0.6859, allocations: 147.6 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003861/0.6864, allocations: 146.1 kB / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006858/0.687, allocations: 302 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005595/0.6876, allocations: 485.2 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003105/0.6879, allocations: 204.7 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002784/0.6882, allocations: 186 kB / 1.093 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002454/0.6885, allocations: 194.2 kB / 1.093 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.91e-05/0.6886, allocations: 37.66 kB / 1.093 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.6887, allocations: 76.64 kB / 1.093 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.6888, allocations: 98.48 kB / 1.093 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.689, allocations: 181.1 kB / 1.093 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006682/0.6897, allocations: 0.5289 MB / 1.094 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.6897, allocations: 4.781 kB / 1.094 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6897, allocations: 4 kB / 1.094 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.6897, allocations: 0.625 kB / 1.094 GB, free: 1.035 MB / 0.8575 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.001136/0.6909, allocations: 0.699 MB / 1.095 GB, free: 472 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.6909, allocations: 14.03 kB / 1.095 GB, free: 468 kB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.014e-05/0.691, allocations: 61.08 kB / 1.095 GB, free: 412 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.6911, allocations: 46.88 kB / 1.095 GB, free: 388 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007089/0.6918, allocations: 411.1 kB / 1.095 GB, free: 56 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.704e-05/0.6919, allocations: 20.27 kB / 1.095 GB, free: 48 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.44e-05/0.6919, allocations: 23.03 kB / 1.095 GB, free: 40 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006711/0.6926, allocations: 276.2 kB / 1.096 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.6926, allocations: 0.5625 kB / 1.096 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.769e-05/0.6927, allocations: 11.27 kB / 1.096 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.6927, allocations: 5.562 kB / 1.096 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005474/0.6932, allocations: 180.8 kB / 1.096 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001684/0.6949, allocations: 0.8707 MB / 1.097 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008167/0.6958, allocations: 229.1 kB / 1.097 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000234/0.696, allocations: 90.86 kB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.301e-05/0.6961, allocations: 3.219 kB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003644/0.6964, allocations: 136.1 kB / 1.097 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=20): time 2.364e-06/0.6965, allocations: 0.8125 kB / 1.097 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20): time 0.0008974/0.6974, allocations: 296.1 kB / 1.097 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.6974, allocations: 54.28 kB / 1.097 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006012/0.698, allocations: 412.2 kB / 1.098 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.6981, allocations: 28.66 kB / 1.098 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.6983, allocations: 216.4 kB / 1.098 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.183e-05/0.6983, allocations: 64.06 kB / 1.098 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.87e-05/0.6984, allocations: 50.14 kB / 1.098 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.6986, allocations: 355.4 kB / 1.098 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/0.6988, allocations: 76.28 kB / 1.098 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.699, allocations: 113.1 kB / 1.099 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004118/0.6994, allocations: 194 kB / 1.099 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.6994, allocations: 0 / 1.099 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000575/0.7, allocations: 258.5 kB / 1.099 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.7001, allocations: 6.688 kB / 1.099 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.7001, allocations: 1.656 kB / 1.099 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.7001, allocations: 2.281 kB / 1.099 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.7003, allocations: 51.16 kB / 1.099 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.7004, allocations: 6.688 kB / 1.099 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.7005, allocations: 21.97 kB / 1.099 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.7006, allocations: 11.88 kB / 1.099 GB, free: 13.65 MB / 0.8731 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.0001931/0.7008, allocations: 172.3 kB / 1.099 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-05/0.7008, allocations: 41.62 kB / 1.099 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.944e-05/0.7009, allocations: 41.02 kB / 1.099 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.701, allocations: 6.125 kB / 1.099 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.701, allocations: 0 / 1.099 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.701, allocations: 1.266 kB / 1.099 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.7021, allocations: 0.6776 MB / 1.1 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.7021, allocations: 4 kB / 1.1 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.7023, allocations: 36.83 kB / 1.1 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.7023, allocations: 1.188 kB / 1.1 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.7023, allocations: 7.672 kB / 1.1 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.7023, allocations: 0 / 1.1 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.7023, allocations: 1.297 kB / 1.1 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000785/0.7031, allocations: 423.7 kB / 1.1 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.7033, allocations: 131.6 kB / 1.101 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.656e-05/0.7033, allocations: 2.875 kB / 1.101 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.7035, allocations: 11.09 kB / 1.101 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.965e-05/0.7036, allocations: 17.2 kB / 1.101 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.828e-05/0.7036, allocations: 6.891 kB / 1.101 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003793/0.704, allocations: 295 kB / 1.101 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.31e-07/0.704, allocations: 0 / 1.101 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003812/0.7044, allocations: 69.59 kB / 1.101 GB, free: 12.43 MB / 0.8731 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.001864/0.7063, allocations: 1.276 MB / 1.102 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005255/0.7068, allocations: 182.5 kB / 1.102 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.7068, allocations: 1.094 kB / 1.102 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002302/0.7071, allocations: 85.61 kB / 1.102 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006235/0.7077, allocations: 98.23 kB / 1.103 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004378/0.7121, allocations: 3.039 MB / 1.106 GB, free: 9.492 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.7125, allocations: 0.8022 MB / 1.106 GB, free: 8.781 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000208/0.7127, allocations: 39.56 kB / 1.106 GB, free: 8.773 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/0.7129, allocations: 125.3 kB / 1.106 GB, free: 8.684 MB / 0.8731 GB Notification: Performance of SimCode: time 6.91e-07/0.7129, allocations: 0 / 1.106 GB, free: 8.684 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.654/2.367, allocations: 7.536 MB / 1.114 GB, free: 7.715 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/12.95, allocations: 4.438 kB / 1.114 GB, free: 7.715 MB / 0.8731 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/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) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches