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: 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.001633/0.001633, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001861/0.001861, allocations: 197.9 kB / 16.14 MB, free: 6.711 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.38/1.38, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.754/2.754, allocations: 461.9 MB / 0.7342 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 67.08 kB / 0.8984 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2637, allocations: 157.4 MB / 1.052 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004414/0.2682, allocations: 2.875 MB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00271/0.2709, allocations: 1.317 MB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004466/0.2715, allocations: 11.94 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005679/0.272, allocations: 127.5 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003439/0.2724, allocations: 123.4 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006789/0.2731, allocations: 270.8 kB / 1.057 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004709/0.2736, allocations: 443.4 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003206/0.2739, allocations: 198.8 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002366/0.2741, allocations: 159.2 kB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.2744, allocations: 183 kB / 1.058 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.285e-05/0.2744, allocations: 16 kB / 1.058 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.2746, allocations: 51.98 kB / 1.058 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.2747, allocations: 79.61 kB / 1.058 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001451/0.2749, allocations: 163 kB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005001/0.2754, allocations: 498.3 kB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.2754, allocations: 3.938 kB / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2754, allocations: 4 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.2754, allocations: 0 / 1.058 GB, free: 2.359 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.001171/0.2766, allocations: 0.701 MB / 1.059 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.2766, allocations: 8.031 kB / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.446e-05/0.2767, allocations: 52.36 kB / 1.059 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005456/0.2773, allocations: 398.6 kB / 1.06 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.2773, allocations: 16.94 kB / 1.06 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.315e-05/0.2774, allocations: 28.12 kB / 1.06 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005408/0.2779, allocations: 271.7 kB / 1.06 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.2779, allocations: 4 kB / 1.06 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.033e-05/0.278, allocations: 11.98 kB / 1.06 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.278, allocations: 11.94 kB / 1.06 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004316/0.2784, allocations: 178.2 kB / 1.06 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.2797, allocations: 0.8803 MB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007385/0.2805, allocations: 230.9 kB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/0.2807, allocations: 92.81 kB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.2808, allocations: 4 kB / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000369/0.2811, allocations: 144.4 kB / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.764e-06/0.2811, allocations: 0 / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0007497/0.2819, allocations: 287 kB / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.2819, allocations: 55.41 kB / 1.062 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004162/0.2824, allocations: 413.6 kB / 1.062 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.2824, allocations: 29.7 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.2826, allocations: 224 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.27e-05/0.2826, allocations: 59.2 kB / 1.062 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.739e-05/0.2827, allocations: 53.83 kB / 1.062 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.2828, allocations: 354.7 kB / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.283, allocations: 64.38 kB / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.2833, allocations: 130.7 kB / 1.063 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003785/0.2836, allocations: 182.9 kB / 1.063 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.2837, allocations: 0 / 1.063 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005181/0.2842, allocations: 253.1 kB / 1.063 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.2842, allocations: 8 kB / 1.063 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.2842, allocations: 4 kB / 1.063 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.2843, allocations: 8.156 kB / 1.063 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.2845, allocations: 47.91 kB / 1.063 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.2845, allocations: 0 / 1.063 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.2847, allocations: 31.67 kB / 1.063 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.2847, allocations: 8 kB / 1.063 GB, free: 12.92 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.0001974/0.2849, allocations: 165.8 kB / 1.064 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.689e-05/0.285, allocations: 39.53 kB / 1.064 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.141e-05/0.2851, allocations: 43.59 kB / 1.064 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2851, allocations: 0 / 1.064 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2851, allocations: 0 / 1.064 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.2851, allocations: 3.938 kB / 1.064 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.2861, allocations: 0.6855 MB / 1.064 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.2862, allocations: 0 / 1.064 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.2864, allocations: 27.98 kB / 1.064 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.2864, allocations: 4 kB / 1.064 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.2864, allocations: 7.938 kB / 1.064 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.2864, allocations: 4 kB / 1.064 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2864, allocations: 3.984 kB / 1.064 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007473/0.2872, allocations: 418.3 kB / 1.065 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.2873, allocations: 124.7 kB / 1.065 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.845e-05/0.2874, allocations: 16 kB / 1.065 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.2875, allocations: 8 kB / 1.065 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.566e-05/0.2876, allocations: 11.97 kB / 1.065 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.187e-05/0.2877, allocations: 12 kB / 1.065 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003072/0.288, allocations: 299.1 kB / 1.065 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.288, allocations: 0 / 1.065 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003448/0.2883, allocations: 67.69 kB / 1.065 GB, free: 10.91 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.0009366/0.2893, allocations: 423.7 kB / 1.066 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004806/0.2898, allocations: 181.3 kB / 1.066 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.2898, allocations: 0 / 1.066 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.29, allocations: 87.91 kB / 1.066 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005717/0.2906, allocations: 88.59 kB / 1.066 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.2918, allocations: 0.7433 MB / 1.067 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.2921, allocations: 0.7953 MB / 1.068 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001798/0.2923, allocations: 42.95 kB / 1.068 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.105e-05/0.2924, allocations: 31.42 kB / 1.068 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of SimCode: time 6.42e-07/0.2924, allocations: 0 / 1.068 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of Templates: time 0.007597/0.3, allocations: 3.579 MB / 1.071 GB, free: 5.098 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