Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001509/0.001509, allocations: 106.2 kB / 15.98 MB, free: 6.348 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.001465/0.001465, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.594/1.594, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.599/2.599, allocations: 437 MB / 0.7107 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 72.33 kB / 0.8694 GB, free: 2.52 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3813, allocations: 151.6 MB / 1.017 GB, free: 10.96 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.005194/0.3866, allocations: 2.881 MB / 1.02 GB, free: 8.059 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002643/0.3893, allocations: 1.325 MB / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002644/0.3896, allocations: 11.94 kB / 1.022 GB, free: 6.715 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0005955/0.3902, allocations: 123.5 kB / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003365/0.3906, allocations: 127.4 kB / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006713/0.3912, allocations: 267.9 kB / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0005441/0.3918, allocations: 475.4 kB / 1.023 GB, free: 5.746 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003825/0.3922, allocations: 198.8 kB / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002705/0.3925, allocations: 191.2 kB / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002539/0.3927, allocations: 199.1 kB / 1.023 GB, free: 5.168 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.67e-05/0.3928, allocations: 40 kB / 1.023 GB, free: 5.129 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.393, allocations: 71.98 kB / 1.023 GB, free: 5.059 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.3931, allocations: 99.56 kB / 1.023 GB, free: 4.961 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001686/0.3933, allocations: 183 kB / 1.023 GB, free: 4.781 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000499/0.3938, allocations: 423.1 kB / 1.024 GB, free: 4.367 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.3938, allocations: 7.938 kB / 1.024 GB, free: 4.359 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3938, allocations: 0 / 1.024 GB, free: 4.359 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.3938, allocations: 0 / 1.024 GB, free: 4.359 MB / 0.795 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.001187/0.395, allocations: 0.7009 MB / 1.025 GB, free: 3.609 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.395, allocations: 20.86 kB / 1.025 GB, free: 3.59 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.712e-05/0.3952, allocations: 44.38 kB / 1.025 GB, free: 3.547 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005743/0.3957, allocations: 402.6 kB / 1.025 GB, free: 3.113 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/0.3958, allocations: 20.94 kB / 1.025 GB, free: 3.094 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.083e-05/0.3958, allocations: 28.12 kB / 1.025 GB, free: 3.066 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005544/0.3964, allocations: 271.7 kB / 1.025 GB, free: 2.793 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.3964, allocations: 0 / 1.025 GB, free: 2.793 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.298e-05/0.3965, allocations: 8 kB / 1.025 GB, free: 2.785 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.3965, allocations: 8 kB / 1.025 GB, free: 2.777 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004123/0.3969, allocations: 190.1 kB / 1.026 GB, free: 2.59 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.3983, allocations: 0.8764 MB / 1.026 GB, free: 1.656 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000745/0.3991, allocations: 230.9 kB / 1.027 GB, free: 1.422 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.3993, allocations: 92.81 kB / 1.027 GB, free: 1.328 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.673e-05/0.3994, allocations: 0 / 1.027 GB, free: 1.328 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004133/0.3998, allocations: 139.2 kB / 1.027 GB, free: 1.18 MB / 0.795 GB Notification: Performance of pre-optimization done (n=20): time 2.265e-06/0.3998, allocations: 4 kB / 1.027 GB, free: 1.176 MB / 0.795 GB Notification: Performance of matching and sorting (n=20): time 0.0007409/0.4005, allocations: 286.9 kB / 1.027 GB, free: 0.8906 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.4006, allocations: 55.41 kB / 1.027 GB, free: 0.8242 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004638/0.4011, allocations: 409.6 kB / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.4011, allocations: 33.7 kB / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.4013, allocations: 212 kB / 1.028 GB, free: 172 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 6.278e-05/0.4014, allocations: 71.17 kB / 1.028 GB, free: 100 kB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.853e-05/0.4015, allocations: 57.84 kB / 1.028 GB, free: 36 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001964/0.4017, allocations: 350.8 kB / 1.028 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.4018, allocations: 64.44 kB / 1.028 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.402, allocations: 118.7 kB / 1.028 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003653/0.4024, allocations: 183.7 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.4024, allocations: 8 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004855/0.4029, allocations: 259.5 kB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.403, allocations: 4 kB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.016e-06/0.403, allocations: 4 kB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.403, allocations: 3.984 kB / 1.029 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.4032, allocations: 47.91 kB / 1.029 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.4032, allocations: 4 kB / 1.029 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.4034, allocations: 39.77 kB / 1.029 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.4034, allocations: 4 kB / 1.029 GB, free: 14.92 MB / 0.8106 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.0002187/0.4037, allocations: 172.4 kB / 1.029 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.649e-05/0.4037, allocations: 35.53 kB / 1.029 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.92e-05/0.4038, allocations: 43.53 kB / 1.029 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.4038, allocations: 4 kB / 1.029 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.4038, allocations: 0 / 1.029 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.4039, allocations: 7.922 kB / 1.029 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.4049, allocations: 0.6816 MB / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.405, allocations: 0 / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.4051, allocations: 27.98 kB / 1.03 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.4051, allocations: 0 / 1.03 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.627e-05/0.4052, allocations: 15.92 kB / 1.03 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4052, allocations: 0 / 1.03 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4052, allocations: 0 / 1.03 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007511/0.4059, allocations: 420.9 kB / 1.03 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.4061, allocations: 124.7 kB / 1.03 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.736e-05/0.4061, allocations: 11.94 kB / 1.03 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.4063, allocations: 8 kB / 1.03 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.105e-05/0.4064, allocations: 24.03 kB / 1.03 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.517e-05/0.4064, allocations: 4 kB / 1.03 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003107/0.4067, allocations: 299.1 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4067, allocations: 0 / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003472/0.4071, allocations: 67.69 kB / 1.031 GB, free: 12.9 MB / 0.8106 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.001133/0.4082, allocations: 419.4 kB / 1.031 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005013/0.4087, allocations: 195.7 kB / 1.031 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4088, allocations: 0 / 1.031 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.409, allocations: 89.27 kB / 1.031 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005939/0.4096, allocations: 96.23 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.4109, allocations: 0.775 MB / 1.032 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/0.4113, allocations: 0.7912 MB / 1.033 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.702e-05/0.4114, allocations: 35.42 kB / 1.033 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.4114, allocations: 4 kB / 1.033 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of Templates: time 0.008031/0.4195, allocations: 4.691 MB / 1.038 GB, free: 5.949 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.makefile (rm -f Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & ./Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches