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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_latest_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.005791/0.005791, allocations: 98.3 kB / 15.73 MB, free: 6.004 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.001216/0.001216, allocations: 193.3 kB / 16.67 MB, free: 5.934 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.685/2.685, allocations: 469.4 MB / 0.7421 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 64.12 kB / 1.064 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2688, allocations: 159.1 MB / 1.22 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004495/0.2733, allocations: 2.833 MB / 1.222 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002412/0.2758, allocations: 1.352 MB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003101/0.2761, allocations: 7.938 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004891/0.2766, allocations: 151.1 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004201/0.2771, allocations: 139.2 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006883/0.2778, allocations: 310.1 kB / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005327/0.2783, allocations: 479.5 kB / 1.225 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003137/0.2786, allocations: 206.5 kB / 1.225 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002833/0.2789, allocations: 191.1 kB / 1.225 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002622/0.2792, allocations: 199.1 kB / 1.225 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.679e-05/0.2793, allocations: 36 kB / 1.225 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.2794, allocations: 75.98 kB / 1.226 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.2795, allocations: 95.62 kB / 1.226 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.2797, allocations: 186.9 kB / 1.226 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005765/0.2803, allocations: 0.529 MB / 1.226 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.2803, allocations: 4 kB / 1.226 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.193e-06/0.2803, allocations: 7.938 kB / 1.226 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.2803, allocations: 0 / 1.226 GB, free: 7.902 MB / 0.9825 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.001105/0.2814, allocations: 0.7122 MB / 1.227 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.2815, allocations: 8.031 kB / 1.227 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.629e-05/0.2816, allocations: 62.67 kB / 1.227 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.04e-05/0.2816, allocations: 56.64 kB / 1.227 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006071/0.2823, allocations: 403 kB / 1.228 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.2823, allocations: 20.94 kB / 1.228 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.422e-05/0.2823, allocations: 27.94 kB / 1.228 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005035/0.2829, allocations: 279.6 kB / 1.228 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.2829, allocations: 0 / 1.228 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.733e-05/0.2829, allocations: 8 kB / 1.228 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.2829, allocations: 8 kB / 1.228 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004063/0.2833, allocations: 178.2 kB / 1.228 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.2846, allocations: 0.8766 MB / 1.229 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007169/0.2853, allocations: 230.9 kB / 1.229 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002019/0.2855, allocations: 100.7 kB / 1.229 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.2856, allocations: 4 kB / 1.229 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000292/0.2859, allocations: 140.7 kB / 1.229 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 1.714e-06/0.2859, allocations: 0 / 1.229 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.0006862/0.2866, allocations: 291.2 kB / 1.23 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.2866, allocations: 59.34 kB / 1.23 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004006/0.287, allocations: 413.6 kB / 1.23 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.2871, allocations: 29.7 kB / 1.23 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.2872, allocations: 220.3 kB / 1.23 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.079e-05/0.2873, allocations: 59.48 kB / 1.23 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.047e-05/0.2874, allocations: 49.92 kB / 1.23 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.2875, allocations: 354.7 kB / 1.231 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.2877, allocations: 68.44 kB / 1.231 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.2879, allocations: 114 kB / 1.231 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000371/0.2882, allocations: 182.7 kB / 1.231 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2883, allocations: 0 / 1.231 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005437/0.2888, allocations: 265.2 kB / 1.231 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.2888, allocations: 8 kB / 1.231 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2888, allocations: 0 / 1.231 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.2889, allocations: 4 kB / 1.231 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.2891, allocations: 51.91 kB / 1.231 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.2891, allocations: 0 / 1.231 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.2893, allocations: 27.77 kB / 1.231 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.205e-05/0.2893, allocations: 11.98 kB / 1.231 GB, free: 2.375 MB / 0.9825 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.0001688/0.2895, allocations: 167.9 kB / 1.232 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.682e-05/0.2895, allocations: 43.75 kB / 1.232 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.171e-05/0.2896, allocations: 39.59 kB / 1.232 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.2896, allocations: 3.938 kB / 1.232 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2896, allocations: 0 / 1.232 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.2896, allocations: 3.938 kB / 1.232 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009373/0.2906, allocations: 0.6817 MB / 1.232 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2906, allocations: 4 kB / 1.232 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.2908, allocations: 39.91 kB / 1.232 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2908, allocations: 0 / 1.232 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.2908, allocations: 3.938 kB / 1.232 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.2908, allocations: 4 kB / 1.232 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2908, allocations: 0 / 1.232 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006961/0.2915, allocations: 421.2 kB / 1.233 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.2917, allocations: 136.8 kB / 1.233 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.328e-05/0.2917, allocations: 4 kB / 1.233 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.2919, allocations: 11.92 kB / 1.233 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/0.2919, allocations: 19.97 kB / 1.233 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-05/0.292, allocations: 12 kB / 1.233 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002818/0.2923, allocations: 287.2 kB / 1.233 GB, free: 432 kB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2923, allocations: 0 / 1.233 GB, free: 432 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000324/0.2926, allocations: 67.88 kB / 1.233 GB, free: 364 kB / 0.9825 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.001778/0.2944, allocations: 1.276 MB / 1.235 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004397/0.2948, allocations: 179.8 kB / 1.235 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2949, allocations: 0 / 1.235 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.2951, allocations: 91.89 kB / 1.235 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005299/0.2956, allocations: 89.3 kB / 1.235 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003715/0.2993, allocations: 3.072 MB / 1.238 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.2997, allocations: 0.799 MB / 1.239 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000163/0.2998, allocations: 46.94 kB / 1.239 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/0.3, allocations: 123.4 kB / 1.239 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/0.3, allocations: 0 / 1.239 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.026/0.326, allocations: 7.548 MB / 1.246 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.807/8.133, allocations: 10.56 kB / 1.246 GB, free: 3.344 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.csv --start-time 0 --stop-time 360 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.144 Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.fmu > Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.csv","/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