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.001796/0.001796, allocations: 103.2 kB / 16.4 MB, free: 6.461 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.001888/0.001888, allocations: 189.7 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.763/1.763, 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.329/2.329, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 63.91 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7469/0.7482, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003918/0.7521, allocations: 2.819 MB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002356/0.7545, allocations: 1.356 MB / 1.093 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003049/0.7549, allocations: 11.97 kB / 1.093 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005024/0.7554, allocations: 143.2 kB / 1.093 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003402/0.7557, allocations: 141.4 kB / 1.093 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007004/0.7565, allocations: 315.7 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000543/0.757, allocations: 475.7 kB / 1.094 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003339/0.7573, allocations: 200.1 kB / 1.094 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002766/0.7576, allocations: 192 kB / 1.094 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002637/0.7579, allocations: 194.1 kB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.109e-05/0.758, allocations: 38.12 kB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.7582, allocations: 80.98 kB / 1.094 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.83e-05/0.7583, allocations: 94.62 kB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.7584, allocations: 192.7 kB / 1.095 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006504/0.7591, allocations: 0.5233 MB / 1.095 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.7591, allocations: 0 / 1.095 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7591, allocations: 0.75 kB / 1.095 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.726e-06/0.7591, allocations: 0 / 1.095 GB, free: 1.262 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.001008/0.7601, allocations: 0.7079 MB / 1.096 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.7602, allocations: 9.219 kB / 1.096 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.242e-05/0.7603, allocations: 46.88 kB / 1.096 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005857/0.7609, allocations: 411.9 kB / 1.096 GB, free: 340 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.21e-05/0.7609, allocations: 22.09 kB / 1.096 GB, free: 328 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.804e-05/0.761, allocations: 24.42 kB / 1.096 GB, free: 320 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005567/0.7615, allocations: 276.5 kB / 1.097 GB, free: 180 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.7616, allocations: 0 / 1.097 GB, free: 180 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.829e-05/0.7616, allocations: 11.25 kB / 1.097 GB, free: 172 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.7616, allocations: 5.938 kB / 1.097 GB, free: 172 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004575/0.7621, allocations: 179.7 kB / 1.097 GB, free: 108 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001447/0.7635, allocations: 0.8672 MB / 1.098 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007907/0.7643, allocations: 230.5 kB / 1.098 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002182/0.7646, allocations: 90.95 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.7646, allocations: 2.156 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003048/0.7649, allocations: 136.8 kB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=20): time 1.843e-06/0.7649, allocations: 0 / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20): time 0.0007646/0.7657, allocations: 297.2 kB / 1.098 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.7657, allocations: 52.75 kB / 1.098 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004932/0.7662, allocations: 409.8 kB / 1.099 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.7663, allocations: 34.61 kB / 1.099 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.7665, allocations: 213 kB / 1.099 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.018e-05/0.7665, allocations: 60.94 kB / 1.099 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.945e-05/0.7666, allocations: 57.36 kB / 1.099 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.7668, allocations: 352.4 kB / 1.1 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.767, allocations: 69.02 kB / 1.1 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.7672, allocations: 116 kB / 1.1 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000398/0.7676, allocations: 193.8 kB / 1.1 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.7676, allocations: 1.156 kB / 1.1 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005407/0.7682, allocations: 254.2 kB / 1.1 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.7682, allocations: 5.547 kB / 1.1 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.7682, allocations: 1.906 kB / 1.1 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.7682, allocations: 7.188 kB / 1.1 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.7685, allocations: 53.75 kB / 1.1 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.7685, allocations: 6.906 kB / 1.1 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.7686, allocations: 26.89 kB / 1.1 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.7687, allocations: 11.22 kB / 1.1 GB, free: 13.93 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.0001891/0.7689, allocations: 173.3 kB / 1.1 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.94e-05/0.7689, allocations: 36.39 kB / 1.1 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.254e-05/0.769, allocations: 40.36 kB / 1.1 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.769, allocations: 3.109 kB / 1.1 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.7691, allocations: 3.938 kB / 1.1 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.7691, allocations: 2.359 kB / 1.1 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.7702, allocations: 0.6809 MB / 1.101 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.7702, allocations: 0 / 1.101 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.7704, allocations: 32.66 kB / 1.101 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/0.7704, allocations: 5.797 kB / 1.101 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.7704, allocations: 1.922 kB / 1.101 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.7704, allocations: 1.609 kB / 1.101 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.7704, allocations: 0.6562 kB / 1.101 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007972/0.7712, allocations: 423.5 kB / 1.102 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/0.7714, allocations: 132.8 kB / 1.102 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.189e-05/0.7714, allocations: 6.297 kB / 1.102 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.7716, allocations: 6.625 kB / 1.102 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.096e-05/0.7717, allocations: 16.97 kB / 1.102 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.7717, allocations: 10.64 kB / 1.102 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003507/0.7721, allocations: 295.2 kB / 1.102 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7721, allocations: 1.25 kB / 1.102 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003684/0.7725, allocations: 64.25 kB / 1.102 GB, free: 12.71 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.000971/0.7735, allocations: 426.8 kB / 1.102 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005182/0.774, allocations: 184.1 kB / 1.103 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.774, allocations: 0.625 kB / 1.103 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002255/0.7742, allocations: 89.66 kB / 1.103 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005956/0.7748, allocations: 98.59 kB / 1.103 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.7762, allocations: 0.6375 MB / 1.103 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004354/0.7766, allocations: 0.7945 MB / 1.104 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.7767, allocations: 35.95 kB / 1.104 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of SimCode: time 3.21e-07/0.7767, allocations: 3.938 kB / 1.104 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of Templates: time 0.009458/0.7862, allocations: 4.724 MB / 1.109 GB, free: 10.7 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