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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001091/0.001091, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001068/0.001068, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.613/1.613, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.072/3.072, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004341/0.0004342, allocations: 9.031 kB / 0.9021 GB, free: 36.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4374/0.4378, allocations: 159.6 MB / 1.058 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003628/0.4415, allocations: 2.393 MB / 1.06 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002565/0.4441, allocations: 1.252 MB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002837/0.4445, allocations: 11.94 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000549/0.445, allocations: 123.5 kB / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003255/0.4454, allocations: 111.4 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006961/0.4461, allocations: 227.6 kB / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004595/0.4465, allocations: 411.5 kB / 1.062 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00028/0.4468, allocations: 132.3 kB / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000227/0.4471, allocations: 135.2 kB / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.4473, allocations: 143.2 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.411e-05/0.4473, allocations: 8 kB / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.4475, allocations: 43.98 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.788e-05/0.4476, allocations: 63.7 kB / 1.063 GB, free: 324 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.416e-05/0.4477, allocations: 85.5 kB / 1.063 GB, free: 232 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004361/0.4481, allocations: 403.3 kB / 1.063 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.737e-06/0.4481, allocations: 0 / 1.063 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.354e-06/0.4481, allocations: 3.938 kB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.4482, allocations: 0 / 1.063 GB, free: 15.82 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.0012/0.4494, allocations: 0.6386 MB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/0.4494, allocations: 8.031 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.4495, allocations: 51.38 kB / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006759/0.4502, allocations: 377.7 kB / 1.064 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.538e-05/0.4503, allocations: 20.56 kB / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.449e-05/0.4504, allocations: 31.94 kB / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000646/0.451, allocations: 279.6 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.451, allocations: 0 / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.857e-05/0.4511, allocations: 4 kB / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.4511, allocations: 8 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004544/0.4516, allocations: 190.2 kB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/0.4533, allocations: 0.8764 MB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000788/0.4541, allocations: 235 kB / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.4544, allocations: 90.64 kB / 1.066 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.179e-05/0.4544, allocations: 7.953 kB / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004275/0.4549, allocations: 143.2 kB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 2.144e-06/0.4549, allocations: 0 / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0008189/0.4557, allocations: 286.9 kB / 1.067 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.608e-05/0.4558, allocations: 55.41 kB / 1.067 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005524/0.4563, allocations: 421.4 kB / 1.067 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.4564, allocations: 25.7 kB / 1.067 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002251/0.4566, allocations: 220.1 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.368e-05/0.4567, allocations: 63.09 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.357e-05/0.4567, allocations: 4 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001967/0.4569, allocations: 350.8 kB / 1.068 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.4571, allocations: 64.44 kB / 1.068 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.4573, allocations: 126.9 kB / 1.068 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.4575, allocations: 78.05 kB / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.4575, allocations: 0 / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.00052/0.4581, allocations: 268.9 kB / 1.068 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.4581, allocations: 4 kB / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.4581, allocations: 8 kB / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.4581, allocations: 4 kB / 1.068 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.4584, allocations: 52.06 kB / 1.068 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.4584, allocations: 0 / 1.068 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.4586, allocations: 23.83 kB / 1.068 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.4586, allocations: 12 kB / 1.068 GB, free: 10.62 MB / 0.8262 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 ($whenCondition1,$PRE.cooMod.nextTimeEvent,$whenCondition2,dxSpeCon.not1.y,cooMod.nextTimeEvent,$PRE.cooMod.nextTimeEventScaled,cooMod.nextTimeEventScaled,reaToInt.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002359/0.4588, allocations: 169.7 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.797e-05/0.4589, allocations: 35.53 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.459, allocations: 39.59 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.459, allocations: 3.984 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.527e-06/0.459, allocations: 11.94 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.4591, allocations: 0 / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.4601, allocations: 0.6868 MB / 1.069 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4601, allocations: 0 / 1.069 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.4603, allocations: 27.98 kB / 1.069 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.4603, allocations: 7.938 kB / 1.069 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/0.4603, allocations: 11.98 kB / 1.069 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4604, allocations: 0 / 1.069 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4604, allocations: 3.938 kB / 1.069 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007626/0.4611, allocations: 428.2 kB / 1.07 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/0.4613, allocations: 128.6 kB / 1.07 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.371e-05/0.4614, allocations: 8 kB / 1.07 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.4615, allocations: 7.984 kB / 1.07 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.777e-05/0.4616, allocations: 19.97 kB / 1.07 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.607e-05/0.4616, allocations: 4 kB / 1.07 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003523/0.462, allocations: 295.1 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of sort global known variables: time 5.41e-07/0.462, allocations: 0 / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003677/0.4624, allocations: 63.91 kB / 1.07 GB, free: 8.59 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001212/0.4636, allocations: 422.9 kB / 1.071 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004997/0.4641, allocations: 175.8 kB / 1.071 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.4641, allocations: 8.25 kB / 1.071 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.4644, allocations: 93.61 kB / 1.071 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006235/0.465, allocations: 86.56 kB / 1.071 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.4664, allocations: 0.7224 MB / 1.072 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003948/0.4668, allocations: 0.7992 MB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001735/0.467, allocations: 34.97 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.534e-05/0.4671, allocations: 35.42 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of SimCode: time 6.51e-07/0.4671, allocations: 0 / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of Templates: time 0.00822/0.4753, allocations: 3.453 MB / 1.076 GB, free: 2.926 MB / 0.8262 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