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: translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dxSpeCon.TMixAirSet|dxSpeCon.TMixAirMea|dxSpeCon.cooMod|dxSpeCon.y",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor") translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dxSpeCon.TMixAirSet|dxSpeCon.TMixAirMea|dxSpeCon.cooMod|dxSpeCon.y",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001381, allocations: 104.1 kB / 16.41 MB, free: 6.449 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.001498/0.001498, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.442/1.442, allocations: 222.9 MB / 241 MB, free: 15.09 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.421/2.421, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 59.91 kB / 0.9515 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.183/1.185, allocations: 140.4 MB / 1.089 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.005431/1.19, allocations: 2.824 MB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003139/1.193, allocations: 1.342 MB / 1.093 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004958/1.194, allocations: 15.28 kB / 1.093 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007765/1.195, allocations: 147.4 kB / 1.093 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000535/1.195, allocations: 147.5 kB / 1.093 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009455/1.196, allocations: 306.2 kB / 1.093 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007399/1.197, allocations: 480.2 kB / 1.094 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004515/1.198, allocations: 203.9 kB / 1.094 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003787/1.198, allocations: 192.9 kB / 1.094 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000341/1.198, allocations: 202.1 kB / 1.094 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.06e-05/1.198, allocations: 38.03 kB / 1.094 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000236/1.199, allocations: 76.73 kB / 1.094 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001515/1.199, allocations: 95.98 kB / 1.094 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001924/1.199, allocations: 179.2 kB / 1.095 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009792/1.2, allocations: 0.5316 MB / 1.095 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/1.2, allocations: 0.7969 kB / 1.095 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.214e-06/1.2, allocations: 0 / 1.095 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.031e-05/1.2, allocations: 0.9375 kB / 1.095 GB, free: 1.535 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.00134/1.201, allocations: 0.7028 MB / 1.096 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.097e-05/1.201, allocations: 9.156 kB / 1.096 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/1.202, allocations: 46.77 kB / 1.096 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008081/1.202, allocations: 419.7 kB / 1.096 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.597e-05/1.202, allocations: 23.02 kB / 1.096 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.072e-05/1.203, allocations: 24.09 kB / 1.096 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006814/1.203, allocations: 272.5 kB / 1.097 GB, free: 460 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/1.203, allocations: 4.688 kB / 1.097 GB, free: 456 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.199e-05/1.203, allocations: 10.72 kB / 1.097 GB, free: 448 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/1.203, allocations: 6.344 kB / 1.097 GB, free: 448 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005159/1.204, allocations: 187.5 kB / 1.097 GB, free: 376 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001795/1.206, allocations: 0.8586 MB / 1.098 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009446/1.207, allocations: 230.4 kB / 1.098 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002631/1.207, allocations: 94.81 kB / 1.098 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.796e-05/1.207, allocations: 3.609 kB / 1.098 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003791/1.207, allocations: 140.5 kB / 1.098 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=20): time 1.794e-06/1.207, allocations: 0 / 1.098 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20): time 0.0009025/1.208, allocations: 289 kB / 1.098 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/1.208, allocations: 53.53 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006376/1.209, allocations: 412.8 kB / 1.099 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/1.209, allocations: 32.25 kB / 1.099 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002136/1.209, allocations: 220.8 kB / 1.099 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.13e-05/1.209, allocations: 57.12 kB / 1.099 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/1.209, allocations: 52.91 kB / 1.099 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000198/1.21, allocations: 352 kB / 1.1 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/1.21, allocations: 67.92 kB / 1.1 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/1.21, allocations: 120.7 kB / 1.1 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004381/1.211, allocations: 189.1 kB / 1.1 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/1.211, allocations: 4.844 kB / 1.1 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000625/1.211, allocations: 249.8 kB / 1.1 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/1.211, allocations: 6.734 kB / 1.1 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/1.211, allocations: 1.344 kB / 1.1 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/1.211, allocations: 2.688 kB / 1.1 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/1.212, allocations: 46.36 kB / 1.1 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.877e-05/1.212, allocations: 15.69 kB / 1.1 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/1.212, allocations: 25.91 kB / 1.1 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/1.212, allocations: 11.2 kB / 1.1 GB, free: 14.2 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.0002354/1.212, allocations: 174.9 kB / 1.1 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.824e-05/1.212, allocations: 37.52 kB / 1.1 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/1.212, allocations: 40.95 kB / 1.1 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/1.212, allocations: 1.844 kB / 1.1 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/1.212, allocations: 9.406 kB / 1.1 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/1.212, allocations: 0.6562 kB / 1.1 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/1.214, allocations: 0.6743 MB / 1.101 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/1.214, allocations: 0.7188 kB / 1.101 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/1.214, allocations: 32.42 kB / 1.101 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.816e-06/1.214, allocations: 5.156 kB / 1.101 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/1.214, allocations: 7.812 kB / 1.101 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.716e-06/1.214, allocations: 0.7031 kB / 1.101 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.214, allocations: 4.5 kB / 1.101 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008868/1.215, allocations: 424.2 kB / 1.102 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/1.215, allocations: 132.9 kB / 1.102 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.137e-05/1.215, allocations: 1.969 kB / 1.102 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/1.215, allocations: 14.16 kB / 1.102 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.344e-05/1.215, allocations: 18.56 kB / 1.102 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-05/1.215, allocations: 10.45 kB / 1.102 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004636/1.216, allocations: 294.5 kB / 1.102 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1e-07/1.216, allocations: 1.312 kB / 1.102 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004003/1.216, allocations: 64.48 kB / 1.102 GB, free: 12.97 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.001157/1.217, allocations: 425 kB / 1.102 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005919/1.218, allocations: 181.4 kB / 1.103 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.218, allocations: 0 / 1.103 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000253/1.218, allocations: 87.22 kB / 1.103 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006552/1.219, allocations: 99.44 kB / 1.103 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/1.221, allocations: 0.6419 MB / 1.103 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005426/1.221, allocations: 0.7941 MB / 1.104 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/1.221, allocations: 35.97 kB / 1.104 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of SimCode: time 6.31e-07/1.221, allocations: 0 / 1.104 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of Templates: time 0.0115/1.233, allocations: 4.728 MB / 1.109 GB, free: 10.96 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.makefile (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 & ./Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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