Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001876/0.001876, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.00177/0.00177, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.522/1.522, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.844/2.844, allocations: 482.4 MB / 0.7553 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 68.98 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9815/0.9835, allocations: 162.2 MB / 1.083 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.005459/0.989, allocations: 2.83 MB / 1.086 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002955/0.992, allocations: 1.347 MB / 1.087 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003342/0.9924, allocations: 7.625 kB / 1.087 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005734/0.993, allocations: 147.4 kB / 1.087 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004175/0.9935, allocations: 137.7 kB / 1.087 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000901/0.9944, allocations: 310.2 kB / 1.088 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0006463/0.995, allocations: 481.3 kB / 1.088 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003991/0.9954, allocations: 197.2 kB / 1.088 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003199/0.9958, allocations: 189.4 kB / 1.088 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003074/0.9961, allocations: 194.2 kB / 1.089 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.413e-05/0.9962, allocations: 38.97 kB / 1.089 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001975/0.9964, allocations: 71.8 kB / 1.089 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001649/0.9966, allocations: 103.2 kB / 1.089 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002117/0.9968, allocations: 184.5 kB / 1.089 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007948/0.9976, allocations: 0.5089 MB / 1.089 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.9976, allocations: 0 / 1.089 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.938e-06/0.9976, allocations: 0 / 1.089 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.9976, allocations: 3.938 kB / 1.089 GB, free: 13.42 MB / 0.8419 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.001309/0.9989, allocations: 0.7087 MB / 1.09 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.999, allocations: 9.188 kB / 1.09 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.9991, allocations: 46.64 kB / 1.09 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006441/0.9997, allocations: 397.1 kB / 1.091 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/0.9998, allocations: 23.53 kB / 1.091 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.777e-05/0.9999, allocations: 27.92 kB / 1.091 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006046/1, allocations: 274.1 kB / 1.091 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/1, allocations: 0 / 1.091 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.053e-05/1.001, allocations: 10.62 kB / 1.091 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/1.001, allocations: 5.906 kB / 1.091 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004925/1.001, allocations: 191.7 kB / 1.091 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001639/1.003, allocations: 0.8843 MB / 1.092 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007966/1.004, allocations: 226.4 kB / 1.092 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/1.004, allocations: 91.59 kB / 1.092 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.568e-05/1.004, allocations: 5.984 kB / 1.092 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000385/1.004, allocations: 136.8 kB / 1.092 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=20): time 1.914e-06/1.004, allocations: 0.5312 kB / 1.092 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20): time 0.0008119/1.005, allocations: 292.5 kB / 1.093 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/1.005, allocations: 53.59 kB / 1.093 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005574/1.006, allocations: 413.8 kB / 1.093 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/1.006, allocations: 27.14 kB / 1.093 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/1.006, allocations: 217.9 kB / 1.093 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.884e-05/1.006, allocations: 63.56 kB / 1.093 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/1.006, allocations: 49.91 kB / 1.093 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001967/1.006, allocations: 355.9 kB / 1.094 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/1.006, allocations: 68.95 kB / 1.094 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/1.007, allocations: 114.2 kB / 1.094 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004283/1.007, allocations: 188.1 kB / 1.094 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.007, allocations: 0.75 kB / 1.094 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005729/1.008, allocations: 259.2 kB / 1.094 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/1.008, allocations: 5.656 kB / 1.094 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/1.008, allocations: 1.156 kB / 1.094 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/1.008, allocations: 3.594 kB / 1.094 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/1.008, allocations: 47.31 kB / 1.094 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/1.008, allocations: 2.375 kB / 1.094 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/1.008, allocations: 25.84 kB / 1.094 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.469e-05/1.008, allocations: 11.78 kB / 1.095 GB, free: 10.1 MB / 0.8419 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.0002104/1.009, allocations: 172.1 kB / 1.095 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.367e-05/1.009, allocations: 37.53 kB / 1.095 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.942e-05/1.009, allocations: 41.67 kB / 1.095 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/1.009, allocations: 2.219 kB / 1.095 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/1.009, allocations: 0 / 1.095 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/1.009, allocations: 5.703 kB / 1.095 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/1.01, allocations: 0.6856 MB / 1.095 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.01, allocations: 1.406 kB / 1.095 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/1.01, allocations: 28.27 kB / 1.095 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/1.01, allocations: 1.375 kB / 1.095 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.777e-05/1.01, allocations: 10.66 kB / 1.095 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/1.01, allocations: 5.656 kB / 1.095 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/1.01, allocations: 0 / 1.095 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008416/1.011, allocations: 427.5 kB / 1.096 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/1.011, allocations: 128.8 kB / 1.096 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.99e-05/1.011, allocations: 10.06 kB / 1.096 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/1.011, allocations: 14.42 kB / 1.096 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.15e-05/1.012, allocations: 17.89 kB / 1.096 GB, free: 9.031 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/1.012, allocations: 6.828 kB / 1.096 GB, free: 9.031 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000398/1.012, allocations: 298.7 kB / 1.096 GB, free: 8.887 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.375e-06/1.012, allocations: 0 / 1.096 GB, free: 8.887 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003707/1.012, allocations: 69.08 kB / 1.096 GB, free: 8.863 MB / 0.8419 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.001558/1.014, allocations: 412 kB / 1.097 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005437/1.015, allocations: 187.9 kB / 1.097 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.015, allocations: 5.125 kB / 1.097 GB, free: 8.605 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002343/1.015, allocations: 90.78 kB / 1.097 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005993/1.015, allocations: 94.39 kB / 1.097 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/1.017, allocations: 0.6507 MB / 1.098 GB, free: 8.141 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000489/1.017, allocations: 0.7984 MB / 1.099 GB, free: 7.438 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/1.017, allocations: 32.27 kB / 1.099 GB, free: 7.43 MB / 0.8419 GB Notification: Performance of SimCode: time 4.11e-07/1.017, allocations: 0 / 1.099 GB, free: 7.43 MB / 0.8419 GB Notification: Performance of Templates: time 0.01068/1.028, allocations: 4.701 MB / 1.103 GB, free: 6.867 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & ./Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches