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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006564/0.006564, allocations: 103.7 kB / 15.74 MB, free: 5.988 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.001419/0.001419, allocations: 190.1 kB / 16.67 MB, free: 5.914 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.259/1.259, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.354/2.354, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 60.12 kB / 1.054 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.664/0.6651, allocations: 157.4 MB / 1.207 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003758/0.6689, allocations: 2.843 MB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001939/0.6709, allocations: 1.34 MB / 1.211 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001752/0.671, allocations: 11.94 kB / 1.211 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000392/0.6714, allocations: 147.2 kB / 1.211 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002862/0.6717, allocations: 147.1 kB / 1.212 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005405/0.6723, allocations: 302.8 kB / 1.212 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000418/0.6727, allocations: 475.5 kB / 1.212 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002709/0.673, allocations: 200.8 kB / 1.213 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000209/0.6732, allocations: 187.2 kB / 1.213 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.6734, allocations: 195 kB / 1.213 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.754e-05/0.6735, allocations: 36 kB / 1.213 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.6736, allocations: 79.97 kB / 1.213 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.063e-05/0.6737, allocations: 95.69 kB / 1.213 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.6738, allocations: 186.8 kB / 1.213 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004746/0.6743, allocations: 0.5217 MB / 1.214 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.6743, allocations: 7.922 kB / 1.214 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6743, allocations: 4 kB / 1.214 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.6744, allocations: 0 / 1.214 GB, free: 6.855 MB / 0.9356 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.0009604/0.6753, allocations: 0.7048 MB / 1.215 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.6754, allocations: 8.031 kB / 1.215 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.329e-05/0.6754, allocations: 58.73 kB / 1.215 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.622e-05/0.6755, allocations: 56.36 kB / 1.215 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005382/0.6761, allocations: 398.6 kB / 1.215 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.6761, allocations: 20.94 kB / 1.215 GB, free: 5.52 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.073e-05/0.6761, allocations: 23.94 kB / 1.215 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004697/0.6766, allocations: 279.6 kB / 1.215 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.6766, allocations: 0 / 1.215 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/0.6767, allocations: 8 kB / 1.215 GB, free: 5.207 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.6767, allocations: 8 kB / 1.215 GB, free: 5.199 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000387/0.6771, allocations: 182.2 kB / 1.216 GB, free: 5.02 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.6782, allocations: 0.8763 MB / 1.216 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006699/0.6789, allocations: 232.7 kB / 1.217 GB, free: 3.848 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.6791, allocations: 88.81 kB / 1.217 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.6792, allocations: 4 kB / 1.217 GB, free: 3.754 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002764/0.6794, allocations: 140.9 kB / 1.217 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 1.694e-06/0.6794, allocations: 3.938 kB / 1.217 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.0006635/0.6801, allocations: 291.5 kB / 1.217 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.6802, allocations: 55.34 kB / 1.217 GB, free: 3.246 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003886/0.6806, allocations: 421.6 kB / 1.218 GB, free: 2.828 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.6806, allocations: 25.7 kB / 1.218 GB, free: 2.797 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.6807, allocations: 216.1 kB / 1.218 GB, free: 2.582 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.706e-05/0.6808, allocations: 67.03 kB / 1.218 GB, free: 2.516 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.134e-05/0.6809, allocations: 49.92 kB / 1.218 GB, free: 2.457 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.681, allocations: 358.7 kB / 1.218 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.6812, allocations: 60.44 kB / 1.218 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001927/0.6814, allocations: 114 kB / 1.218 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003555/0.6817, allocations: 183.7 kB / 1.219 GB, free: 1.715 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.6817, allocations: 0 / 1.219 GB, free: 1.715 MB / 0.9356 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004691/0.6822, allocations: 265 kB / 1.219 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.6822, allocations: 8 kB / 1.219 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.6822, allocations: 0 / 1.219 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.6823, allocations: 4 kB / 1.219 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.6825, allocations: 47.91 kB / 1.219 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.6825, allocations: 3.984 kB / 1.219 GB, free: 1.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.6826, allocations: 23.78 kB / 1.219 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.6827, allocations: 16.14 kB / 1.219 GB, free: 1.348 MB / 0.9356 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.0001613/0.6828, allocations: 165.7 kB / 1.219 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.982e-05/0.6829, allocations: 43.53 kB / 1.219 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.266e-05/0.683, allocations: 43.58 kB / 1.219 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.683, allocations: 0 / 1.219 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.683, allocations: 0 / 1.219 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.683, allocations: 3.938 kB / 1.219 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008995/0.6839, allocations: 0.6817 MB / 1.22 GB, free: 356 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.6839, allocations: 0 / 1.22 GB, free: 356 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.6841, allocations: 31.97 kB / 1.22 GB, free: 324 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.6841, allocations: 0 / 1.22 GB, free: 324 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.6841, allocations: 7.938 kB / 1.22 GB, free: 316 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.6841, allocations: 7.938 kB / 1.22 GB, free: 308 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.6841, allocations: 3.938 kB / 1.22 GB, free: 304 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000688/0.6848, allocations: 421 kB / 1.22 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.6849, allocations: 132.5 kB / 1.22 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.764e-05/0.685, allocations: 4 kB / 1.22 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.6851, allocations: 11.98 kB / 1.22 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.6852, allocations: 19.97 kB / 1.22 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.6852, allocations: 8 kB / 1.22 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002749/0.6855, allocations: 291.2 kB / 1.221 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6855, allocations: 4.062 kB / 1.221 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000308/0.6858, allocations: 67.77 kB / 1.221 GB, free: 15.33 MB / 0.9512 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.001691/0.6875, allocations: 1.261 MB / 1.222 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000428/0.688, allocations: 175.7 kB / 1.222 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.688, allocations: 0 / 1.222 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001962/0.6882, allocations: 95.84 kB / 1.222 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005144/0.6887, allocations: 98.97 kB / 1.222 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00347/0.6922, allocations: 3.059 MB / 1.225 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.6925, allocations: 0.799 MB / 1.226 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001406/0.6926, allocations: 46.95 kB / 1.226 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.6928, allocations: 127.4 kB / 1.226 GB, free: 9.684 MB / 0.9512 GB Notification: Performance of SimCode: time 3.01e-07/0.6928, allocations: 4 kB / 1.226 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5518/1.245, allocations: 7.541 MB / 1.234 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.77/9.015, allocations: 6.281 kB / 1.234 GB, free: 2.336 MB / 0.9512 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.fmu > 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