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.001357/0.001357, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 199.4 kB / 16.79 MB, free: 6.828 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.452/1.452, allocations: 222.9 MB / 240.5 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.783/2.783, allocations: 461.9 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 64.55 kB / 0.899 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3742, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.005111/0.3794, allocations: 2.871 MB / 1.056 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002629/0.382, allocations: 1.329 MB / 1.057 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000471/0.3825, allocations: 12 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005918/0.3832, allocations: 131.4 kB / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000481/0.3837, allocations: 111.5 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008119/0.3845, allocations: 274 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006759/0.3852, allocations: 439.5 kB / 1.058 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003897/0.3856, allocations: 198.7 kB / 1.058 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003331/0.386, allocations: 163.1 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003203/0.3863, allocations: 187.1 kB / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.695e-05/0.3864, allocations: 16 kB / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.3865, allocations: 47.98 kB / 1.058 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.3867, allocations: 71.67 kB / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001829/0.3868, allocations: 170.8 kB / 1.059 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004545/0.3873, allocations: 403.2 kB / 1.059 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3873, allocations: 0 / 1.059 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3873, allocations: 0 / 1.059 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.56e-05/0.3874, allocations: 3.938 kB / 1.059 GB, free: 1.859 MB / 0.8106 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.001373/0.3887, allocations: 0.7204 MB / 1.06 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.3888, allocations: 8.031 kB / 1.06 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.3889, allocations: 48.38 kB / 1.06 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006253/0.3896, allocations: 390.7 kB / 1.06 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.695e-05/0.3896, allocations: 16.94 kB / 1.06 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.041e-05/0.3897, allocations: 32.06 kB / 1.06 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005785/0.3902, allocations: 279.7 kB / 1.06 GB, free: 288 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.3903, allocations: 0 / 1.06 GB, free: 288 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.425e-05/0.3903, allocations: 12 kB / 1.06 GB, free: 276 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.178e-06/0.3903, allocations: 4 kB / 1.06 GB, free: 272 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004604/0.3908, allocations: 182.2 kB / 1.061 GB, free: 92 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001507/0.3923, allocations: 0.8841 MB / 1.061 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007493/0.3931, allocations: 223 kB / 1.062 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.3933, allocations: 92.81 kB / 1.062 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.293e-05/0.3933, allocations: 7.938 kB / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000394/0.3937, allocations: 137 kB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 2.335e-06/0.3937, allocations: 0 / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0007437/0.3945, allocations: 290.8 kB / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.3945, allocations: 55.41 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000452/0.395, allocations: 417.6 kB / 1.063 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.395, allocations: 33.69 kB / 1.063 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.3952, allocations: 208.1 kB / 1.063 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.703e-05/0.3953, allocations: 67.17 kB / 1.063 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.003e-05/0.3954, allocations: 49.84 kB / 1.063 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.3955, allocations: 350.7 kB / 1.063 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.3957, allocations: 80.42 kB / 1.063 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.3959, allocations: 114 kB / 1.064 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003904/0.3963, allocations: 190.9 kB / 1.064 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3963, allocations: 0 / 1.064 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005562/0.3969, allocations: 250.9 kB / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.3969, allocations: 12 kB / 1.064 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3969, allocations: 0 / 1.064 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.397, allocations: 4 kB / 1.064 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.3972, allocations: 39.97 kB / 1.064 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.3972, allocations: 7.938 kB / 1.064 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.3974, allocations: 31.67 kB / 1.064 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.3974, allocations: 12 kB / 1.064 GB, free: 12.41 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 ($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.0001831/0.3976, allocations: 168.2 kB / 1.064 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.236e-05/0.3977, allocations: 43.47 kB / 1.064 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.059e-05/0.3978, allocations: 43.59 kB / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.3978, allocations: 0 / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.3978, allocations: 0 / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.3978, allocations: 7.922 kB / 1.064 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009937/0.3988, allocations: 0.6739 MB / 1.065 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.3988, allocations: 7.938 kB / 1.065 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.399, allocations: 31.92 kB / 1.065 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.399, allocations: 0 / 1.065 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.3991, allocations: 11.92 kB / 1.065 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.3991, allocations: 4 kB / 1.065 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3991, allocations: 0 / 1.065 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007456/0.3998, allocations: 420.5 kB / 1.065 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.4, allocations: 124.7 kB / 1.066 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/0.4, allocations: 3.938 kB / 1.066 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.4002, allocations: 11.98 kB / 1.066 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.259e-05/0.4003, allocations: 19.97 kB / 1.066 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.4003, allocations: 15.92 kB / 1.066 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003348/0.4006, allocations: 291.2 kB / 1.066 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4006, allocations: 0 / 1.066 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003626/0.401, allocations: 71.75 kB / 1.066 GB, free: 10.39 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 (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.001046/0.4021, allocations: 422.9 kB / 1.066 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004874/0.4026, allocations: 181.5 kB / 1.066 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.4026, allocations: 0 / 1.066 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002225/0.4028, allocations: 100.1 kB / 1.067 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005932/0.4034, allocations: 79.88 kB / 1.067 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.4049, allocations: 0.7665 MB / 1.067 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004226/0.4053, allocations: 0.7953 MB / 1.068 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.4054, allocations: 31.42 kB / 1.068 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of SimCode: time 5.71e-07/0.4054, allocations: 0 / 1.068 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of Templates: time 0.009444/0.4149, allocations: 4.69 MB / 1.073 GB, free: 3.465 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/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