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: "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_10_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_10_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.004388/0.004388, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001236/0.001236, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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.372/2.372, allocations: 437.1 MB / 0.7106 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 63.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2619, allocations: 151.6 MB / 1.166 GB, free: 7.297 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003768/0.2657, allocations: 2.832 MB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001918/0.2676, allocations: 1.348 MB / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001499/0.2678, allocations: 8 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003893/0.2682, allocations: 155.1 kB / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002814/0.2685, allocations: 139.2 kB / 1.171 GB, free: 2.781 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005429/0.269, allocations: 302 kB / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004524/0.2695, allocations: 483.4 kB / 1.171 GB, free: 2.02 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000281/0.2698, allocations: 202.7 kB / 1.171 GB, free: 1.816 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/0.27, allocations: 179.3 kB / 1.172 GB, free: 1.641 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002141/0.2702, allocations: 195 kB / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.401e-05/0.2703, allocations: 36 kB / 1.172 GB, free: 1.414 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.2704, allocations: 83.97 kB / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.2705, allocations: 95.62 kB / 1.172 GB, free: 1.238 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.2707, allocations: 186.9 kB / 1.172 GB, free: 1.055 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005211/0.2712, allocations: 0.5251 MB / 1.173 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.2712, allocations: 7.984 kB / 1.173 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2712, allocations: 4 kB / 1.173 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.2712, allocations: 0 / 1.173 GB, free: 0.5156 MB / 0.92 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.0009712/0.2722, allocations: 0.7199 MB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.2722, allocations: 12.03 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.862e-05/0.2723, allocations: 58.73 kB / 1.174 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.808e-05/0.2724, allocations: 56.64 kB / 1.174 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005432/0.2729, allocations: 403 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.273, allocations: 20.94 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.276e-05/0.273, allocations: 27.94 kB / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004771/0.2735, allocations: 279.6 kB / 1.174 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.2735, allocations: 0 / 1.174 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.2736, allocations: 12 kB / 1.174 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.2736, allocations: 4 kB / 1.174 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003961/0.274, allocations: 178.2 kB / 1.174 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.2752, allocations: 0.8804 MB / 1.175 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000662/0.2758, allocations: 227 kB / 1.176 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001898/0.276, allocations: 88.81 kB / 1.176 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.2761, allocations: 4 kB / 1.176 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002729/0.2764, allocations: 137.5 kB / 1.176 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 3.216e-06/0.2764, allocations: 3.984 kB / 1.176 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.000805/0.2772, allocations: 293.2 kB / 1.176 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.2772, allocations: 55.41 kB / 1.176 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006649/0.2779, allocations: 417.6 kB / 1.177 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.618e-05/0.278, allocations: 33.7 kB / 1.177 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.2782, allocations: 212.3 kB / 1.177 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.773e-05/0.2783, allocations: 67.42 kB / 1.177 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.2784, allocations: 53.92 kB / 1.177 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001972/0.2787, allocations: 350.7 kB / 1.177 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/0.279, allocations: 68.44 kB / 1.177 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003211/0.2793, allocations: 110 kB / 1.177 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006119/0.2799, allocations: 187.7 kB / 1.178 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.2799, allocations: 0 / 1.178 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008281/0.2808, allocations: 273.2 kB / 1.178 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.2808, allocations: 4 kB / 1.178 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.2808, allocations: 4 kB / 1.178 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.2809, allocations: 3.938 kB / 1.178 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000335/0.2812, allocations: 43.97 kB / 1.178 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.2812, allocations: 7.938 kB / 1.178 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.2815, allocations: 23.83 kB / 1.178 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.027e-05/0.2815, allocations: 11.98 kB / 1.178 GB, free: 10.98 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.0002462/0.2818, allocations: 168.3 kB / 1.178 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.71e-05/0.2818, allocations: 35.77 kB / 1.178 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.282, allocations: 43.58 kB / 1.178 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.282, allocations: 4 kB / 1.178 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.282, allocations: 3.938 kB / 1.178 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.282, allocations: 3.938 kB / 1.178 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/0.2834, allocations: 0.672 MB / 1.179 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2835, allocations: 4 kB / 1.179 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002731/0.2837, allocations: 35.91 kB / 1.179 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.2838, allocations: 0 / 1.179 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-05/0.2838, allocations: 15.94 kB / 1.179 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.2838, allocations: 0 / 1.179 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2838, allocations: 0 / 1.179 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.285, allocations: 425.5 kB / 1.179 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001742/0.2852, allocations: 132.8 kB / 1.179 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.084e-05/0.2852, allocations: 4 kB / 1.179 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.2855, allocations: 11.98 kB / 1.179 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.649e-05/0.2856, allocations: 19.97 kB / 1.179 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.2856, allocations: 7.938 kB / 1.179 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004653/0.2861, allocations: 295.2 kB / 1.18 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2861, allocations: 3.938 kB / 1.18 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005359/0.2867, allocations: 71.88 kB / 1.18 GB, free: 8.961 MB / 0.9356 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.003376/0.2901, allocations: 1.268 MB / 1.181 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006831/0.2908, allocations: 181.7 kB / 1.181 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2908, allocations: 0 / 1.181 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003295/0.2911, allocations: 90.12 kB / 1.181 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008332/0.292, allocations: 93.73 kB / 1.181 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005963/0.2979, allocations: 3.078 MB / 1.184 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005546/0.2985, allocations: 0.799 MB / 1.185 GB, free: 3.461 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002219/0.2987, allocations: 42.95 kB / 1.185 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002524/0.299, allocations: 127.3 kB / 1.185 GB, free: 3.297 MB / 0.9356 GB Notification: Performance of SimCode: time 2.81e-07/0.299, allocations: 0 / 1.185 GB, free: 3.297 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.234/1.533, allocations: 7.546 MB / 1.193 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/14.75, allocations: 8.562 kB / 1.193 GB, free: 11.94 MB / 0.9512 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat --tempDir=temp_Buildings_10_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor_fmu --startTime=0 --stopTime=360 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.fmu > 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