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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001649/0.001649, allocations: 113.6 kB / 16.37 MB, free: 6.012 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.001877/0.001877, allocations: 191.2 kB / 17.31 MB, free: 5.613 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.459/2.459, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 63.2 kB / 0.8707 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.276, allocations: 151.6 MB / 1.019 GB, free: 9.855 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004011/0.28, allocations: 2.849 MB / 1.022 GB, free: 6.984 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00204/0.2821, allocations: 1.356 MB / 1.023 GB, free: 5.621 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.2823, allocations: 15.94 kB / 1.023 GB, free: 5.605 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0004169/0.2827, allocations: 143.2 kB / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003014/0.283, allocations: 135.2 kB / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005691/0.2836, allocations: 307 kB / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004504/0.2841, allocations: 475.5 kB / 1.024 GB, free: 4.57 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002931/0.2844, allocations: 202.5 kB / 1.024 GB, free: 4.371 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002222/0.2846, allocations: 187.1 kB / 1.024 GB, free: 4.188 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002182/0.2848, allocations: 199 kB / 1.024 GB, free: 3.992 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.026e-05/0.2849, allocations: 36 kB / 1.025 GB, free: 3.957 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.285, allocations: 79.97 kB / 1.025 GB, free: 3.879 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.2851, allocations: 95.69 kB / 1.025 GB, free: 3.785 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001509/0.2853, allocations: 182.9 kB / 1.025 GB, free: 3.605 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004868/0.2858, allocations: 0.5255 MB / 1.025 GB, free: 3.078 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2858, allocations: 0 / 1.025 GB, free: 3.078 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2858, allocations: 0 / 1.025 GB, free: 3.078 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.2858, allocations: 4 kB / 1.025 GB, free: 3.074 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.001015/0.2868, allocations: 0.7087 MB / 1.026 GB, free: 2.316 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.2869, allocations: 12.88 kB / 1.026 GB, free: 2.305 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.9e-05/0.287, allocations: 48.38 kB / 1.026 GB, free: 2.258 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005619/0.2875, allocations: 410.5 kB / 1.027 GB, free: 1.816 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.2876, allocations: 16.94 kB / 1.027 GB, free: 1.801 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.468e-05/0.2876, allocations: 28.12 kB / 1.027 GB, free: 1.773 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005035/0.2881, allocations: 279.6 kB / 1.027 GB, free: 1.492 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.2881, allocations: 0 / 1.027 GB, free: 1.492 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.2882, allocations: 8 kB / 1.027 GB, free: 1.484 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.2882, allocations: 8 kB / 1.027 GB, free: 1.477 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004161/0.2886, allocations: 190.1 kB / 1.027 GB, free: 1.289 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.2899, allocations: 0.8647 MB / 1.028 GB, free: 372 kB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007058/0.2906, allocations: 227 kB / 1.028 GB, free: 136 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.2908, allocations: 88.81 kB / 1.028 GB, free: 44 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.2908, allocations: 7.984 kB / 1.028 GB, free: 36 kB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003009/0.2911, allocations: 144.9 kB / 1.028 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=20): time 1.713e-06/0.2911, allocations: 0 / 1.028 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20): time 0.0006878/0.2918, allocations: 286.9 kB / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.2919, allocations: 51.41 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004046/0.2923, allocations: 417.6 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.2923, allocations: 29.69 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.2925, allocations: 216.1 kB / 1.029 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.851e-05/0.2925, allocations: 67.17 kB / 1.029 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.726e-05/0.2926, allocations: 49.84 kB / 1.029 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.2927, allocations: 350.7 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.2929, allocations: 72.42 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/0.2931, allocations: 122.9 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003631/0.2935, allocations: 186.5 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.2935, allocations: 0 / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004876/0.294, allocations: 254.3 kB / 1.03 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.294, allocations: 8 kB / 1.03 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.294, allocations: 0 / 1.03 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.2941, allocations: 4 kB / 1.03 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/0.2943, allocations: 48.06 kB / 1.03 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.2943, allocations: 4 kB / 1.03 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.2945, allocations: 31.67 kB / 1.03 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.2945, allocations: 12 kB / 1.03 GB, free: 13.63 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.0001486/0.2946, allocations: 162.4 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.687e-05/0.2947, allocations: 35.53 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.814e-05/0.2948, allocations: 39.59 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.2948, allocations: 8 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2948, allocations: 4 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.2948, allocations: 7.922 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008943/0.2957, allocations: 0.6816 MB / 1.031 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.2957, allocations: 3.938 kB / 1.031 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/0.2959, allocations: 23.98 kB / 1.031 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2959, allocations: 4 kB / 1.031 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.296, allocations: 11.92 kB / 1.031 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.296, allocations: 4 kB / 1.031 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.296, allocations: 4 kB / 1.031 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006879/0.2967, allocations: 423.9 kB / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.2968, allocations: 124.7 kB / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.194e-05/0.2968, allocations: 3.938 kB / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.297, allocations: 16.05 kB / 1.032 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.171e-05/0.2971, allocations: 15.98 kB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.2971, allocations: 8 kB / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002807/0.2974, allocations: 295.1 kB / 1.032 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2974, allocations: 0 / 1.032 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000325/0.2977, allocations: 67.69 kB / 1.032 GB, free: 11.61 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.0009198/0.2987, allocations: 419.8 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004344/0.2991, allocations: 183.7 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2991, allocations: 0 / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002044/0.2993, allocations: 91.89 kB / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005253/0.2999, allocations: 99.31 kB / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009596/0.3008, allocations: 0.6128 MB / 1.034 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.3012, allocations: 0.799 MB / 1.034 GB, free: 9.535 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001376/0.3013, allocations: 42.97 kB / 1.034 GB, free: 9.492 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.7e-05/0.3014, allocations: 31.42 kB / 1.035 GB, free: 9.461 MB / 0.8106 GB Notification: Performance of SimCode: time 2.91e-07/0.3014, allocations: 4 kB / 1.035 GB, free: 9.457 MB / 0.8106 GB Notification: Performance of Templates: time 0.007969/0.3094, allocations: 3.763 MB / 1.038 GB, free: 5.738 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 -s gbode -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