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.001035/0.001036, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.007132/0.007132, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.474/1.474, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.035/3.035, allocations: 473.5 MB / 0.747 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004113/0.0004113, allocations: 9.812 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.3961, allocations: 162.2 MB / 1.074 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003451/0.3996, allocations: 2.507 MB / 1.077 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002258/0.4019, allocations: 1.278 MB / 1.078 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002224/0.4021, allocations: 11.94 kB / 1.078 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004761/0.4026, allocations: 139.5 kB / 1.078 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002869/0.4029, allocations: 119.4 kB / 1.078 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006096/0.4035, allocations: 275 kB / 1.078 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004193/0.4039, allocations: 439.5 kB / 1.079 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003073/0.4043, allocations: 190.8 kB / 1.079 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.4045, allocations: 143.2 kB / 1.079 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.4047, allocations: 151.1 kB / 1.079 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.977e-05/0.4047, allocations: 8 kB / 1.079 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.4048, allocations: 47.97 kB / 1.079 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.135e-05/0.4049, allocations: 63.58 kB / 1.079 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.4051, allocations: 176.6 kB / 1.08 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004362/0.4055, allocations: 486.2 kB / 1.08 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4055, allocations: 0 / 1.08 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.362e-06/0.4055, allocations: 0 / 1.08 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.4055, allocations: 4 kB / 1.08 GB, free: 1.484 MB / 0.8262 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.0009947/0.4065, allocations: 0.6348 MB / 1.081 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.4066, allocations: 8.031 kB / 1.081 GB, free: 0.793 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.13e-05/0.4067, allocations: 48.38 kB / 1.081 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005178/0.4072, allocations: 402.5 kB / 1.081 GB, free: 324 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.141e-05/0.4072, allocations: 20.94 kB / 1.081 GB, free: 300 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.659e-05/0.4073, allocations: 28.12 kB / 1.081 GB, free: 272 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005339/0.4079, allocations: 279.7 kB / 1.081 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.4079, allocations: 0 / 1.081 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/0.4079, allocations: 8 kB / 1.081 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.4079, allocations: 7.984 kB / 1.081 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004191/0.4083, allocations: 190.2 kB / 1.082 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.4097, allocations: 0.8802 MB / 1.082 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007169/0.4104, allocations: 236.5 kB / 1.083 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.4106, allocations: 92.81 kB / 1.083 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.693e-05/0.4107, allocations: 4 kB / 1.083 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003285/0.411, allocations: 136.5 kB / 1.083 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=20): time 1.373e-06/0.411, allocations: 0 / 1.083 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20): time 0.0007097/0.4117, allocations: 303.1 kB / 1.083 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.4118, allocations: 55.41 kB / 1.083 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004251/0.4122, allocations: 413.6 kB / 1.084 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.4122, allocations: 25.7 kB / 1.084 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.4124, allocations: 216.1 kB / 1.084 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.617e-05/0.4125, allocations: 67.09 kB / 1.084 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.4125, allocations: 29.7 kB / 1.084 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.4126, allocations: 350.7 kB / 1.084 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.4128, allocations: 72.42 kB / 1.084 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.413, allocations: 118 kB / 1.084 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003622/0.4134, allocations: 198.7 kB / 1.085 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4134, allocations: 3.938 kB / 1.085 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004809/0.4139, allocations: 259.8 kB / 1.085 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.4139, allocations: 4 kB / 1.085 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.4139, allocations: 4 kB / 1.085 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.4139, allocations: 8.094 kB / 1.085 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.4142, allocations: 47.91 kB / 1.085 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.4142, allocations: 4 kB / 1.085 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.4143, allocations: 27.77 kB / 1.085 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.4144, allocations: 12 kB / 1.085 GB, free: 12.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.0001757/0.4145, allocations: 169.8 kB / 1.085 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.627e-05/0.4146, allocations: 35.53 kB / 1.085 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.264e-05/0.4147, allocations: 47.58 kB / 1.085 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.4147, allocations: 4 kB / 1.085 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.4147, allocations: 0 / 1.085 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.4147, allocations: 7.938 kB / 1.085 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009159/0.4157, allocations: 0.6752 MB / 1.086 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4157, allocations: 4 kB / 1.086 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.4158, allocations: 31.92 kB / 1.086 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.4159, allocations: 0 / 1.086 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/0.4159, allocations: 15.92 kB / 1.086 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.4159, allocations: 0 / 1.086 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.4159, allocations: 0 / 1.086 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007033/0.4166, allocations: 428.5 kB / 1.086 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.4167, allocations: 128.6 kB / 1.087 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.273e-05/0.4168, allocations: 7.938 kB / 1.087 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.4169, allocations: 15.92 kB / 1.087 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.121e-05/0.417, allocations: 19.97 kB / 1.087 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.417, allocations: 4 kB / 1.087 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002935/0.4173, allocations: 295.2 kB / 1.087 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4173, allocations: 4 kB / 1.087 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003215/0.4177, allocations: 67.77 kB / 1.087 GB, free: 10.06 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.001019/0.4187, allocations: 414.2 kB / 1.087 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004569/0.4192, allocations: 188 kB / 1.087 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.4192, allocations: 0 / 1.087 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.4194, allocations: 91.89 kB / 1.088 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005839/0.42, allocations: 89.81 kB / 1.088 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.4211, allocations: 0.7509 MB / 1.088 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.4215, allocations: 0.7992 MB / 1.089 GB, free: 7.852 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001555/0.4216, allocations: 42.95 kB / 1.089 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.178e-05/0.4217, allocations: 35.42 kB / 1.089 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.4217, allocations: 0 / 1.089 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of Templates: time 0.00773/0.4294, allocations: 3.548 MB / 1.093 GB, free: 4.273 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=480 -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/jenkins/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