Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",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.00113/0.001131, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.008251/0.008251, allocations: 171.3 kB / 16.27 MB, free: 6.652 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.357/1.357, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.627/2.627, allocations: 443.4 MB / 0.7176 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000319/0.000319, allocations: 11.55 kB / 0.8797 GB, free: 41.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2875, allocations: 155.2 MB / 1.031 GB, free: 4.188 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002193/0.2897, allocations: 1.741 MB / 1.033 GB, free: 2.434 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002344/0.2921, allocations: 1.716 MB / 1.035 GB, free: 0.7109 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.149e-05/0.2922, allocations: 3.938 kB / 1.035 GB, free: 0.707 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.718e-05/0.2922, allocations: 11.92 kB / 1.035 GB, free: 0.6953 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.899e-05/0.2923, allocations: 51.55 kB / 1.035 GB, free: 0.6445 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007596/0.2931, allocations: 287.2 kB / 1.035 GB, free: 372 kB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.2933, allocations: 211.1 kB / 1.035 GB, free: 160 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.2934, allocations: 45.66 kB / 1.035 GB, free: 108 kB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.543e-05/0.2935, allocations: 67.84 kB / 1.035 GB, free: 40 kB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.2937, allocations: 87.59 kB / 1.035 GB, free: 15.95 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.2937, allocations: 12 kB / 1.035 GB, free: 15.94 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006917/0.2944, allocations: 387.5 kB / 1.036 GB, free: 15.56 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.28e-05/0.2945, allocations: 31.84 kB / 1.036 GB, free: 15.53 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 9.289e-05/0.2946, allocations: 105.3 kB / 1.036 GB, free: 15.42 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005062/0.2951, allocations: 422.9 kB / 1.036 GB, free: 15.01 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2951, allocations: 0 / 1.036 GB, free: 15.01 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2951, allocations: 0 / 1.036 GB, free: 15.01 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.2951, allocations: 0 / 1.036 GB, free: 15.01 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007234/0.2958, allocations: 491.3 kB / 1.037 GB, free: 14.48 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.2959, allocations: 12.03 kB / 1.037 GB, free: 14.46 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.126e-05/0.2959, allocations: 50.73 kB / 1.037 GB, free: 14.41 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005799/0.2965, allocations: 96.66 kB / 1.037 GB, free: 14.31 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.2967, allocations: 188 kB / 1.037 GB, free: 14.09 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.901e-05/0.2967, allocations: 50.25 kB / 1.037 GB, free: 14.04 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/0.2968, allocations: 16.38 kB / 1.037 GB, free: 14.02 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004145/0.2972, allocations: 193.8 kB / 1.037 GB, free: 13.82 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.2972, allocations: 0 / 1.037 GB, free: 13.82 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.2972, allocations: 4 kB / 1.037 GB, free: 13.82 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.2973, allocations: 4 kB / 1.037 GB, free: 13.82 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004582/0.2977, allocations: 195.8 kB / 1.038 GB, free: 13.62 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.299, allocations: 0.915 MB / 1.038 GB, free: 12.58 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005172/0.2995, allocations: 182.5 kB / 1.039 GB, free: 12.39 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000208/0.2998, allocations: 84.83 kB / 1.039 GB, free: 12.31 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006087/0.3004, allocations: 0.5142 MB / 1.039 GB, free: 11.68 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.3004, allocations: 38.56 kB / 1.039 GB, free: 11.64 MB / 0.795 GB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/0.3004, allocations: 4 kB / 1.039 GB, free: 11.63 MB / 0.795 GB Notification: Performance of matching and sorting (n=14): time 0.0007042/0.3011, allocations: 245.7 kB / 1.039 GB, free: 11.39 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.3012, allocations: 55.41 kB / 1.039 GB, free: 11.32 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.3013, allocations: 161.3 kB / 1.04 GB, free: 11.16 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.3014, allocations: 25.7 kB / 1.04 GB, free: 11.12 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.06e-05/0.3014, allocations: 123.7 kB / 1.04 GB, free: 11 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/0.3015, allocations: 47.33 kB / 1.04 GB, free: 10.95 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.371e-05/0.3015, allocations: 25.7 kB / 1.04 GB, free: 10.92 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.3016, allocations: 318.8 kB / 1.04 GB, free: 10.6 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.3018, allocations: 83.95 kB / 1.04 GB, free: 10.52 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.3021, allocations: 99.22 kB / 1.04 GB, free: 10.42 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003911/0.3025, allocations: 163.4 kB / 1.04 GB, free: 10.25 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.3025, allocations: 0 / 1.04 GB, free: 10.25 MB / 0.795 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004968/0.303, allocations: 218.8 kB / 1.041 GB, free: 10.04 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.303, allocations: 12.02 kB / 1.041 GB, free: 10.02 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.303, allocations: 4 kB / 1.041 GB, free: 10.02 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.303, allocations: 0 / 1.041 GB, free: 10.02 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.3033, allocations: 35.92 kB / 1.041 GB, free: 9.984 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.3033, allocations: 7.984 kB / 1.041 GB, free: 9.977 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.3035, allocations: 23.83 kB / 1.041 GB, free: 9.953 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.3035, allocations: 8 kB / 1.041 GB, free: 9.945 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (com.isOn,$PRE.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.000107/0.3036, allocations: 137.7 kB / 1.041 GB, free: 9.801 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.305e-05/0.3037, allocations: 15.81 kB / 1.041 GB, free: 9.785 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005213/0.3042, allocations: 205.2 kB / 1.041 GB, free: 9.578 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3042, allocations: 0 / 1.041 GB, free: 9.578 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.3042, allocations: 4 kB / 1.041 GB, free: 9.574 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3043, allocations: 0 / 1.041 GB, free: 9.574 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.3056, allocations: 0.9934 MB / 1.042 GB, free: 8.426 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3057, allocations: 4 kB / 1.042 GB, free: 8.422 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.3059, allocations: 27.92 kB / 1.042 GB, free: 8.395 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.3059, allocations: 8.062 kB / 1.042 GB, free: 8.387 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.3059, allocations: 0 / 1.042 GB, free: 8.387 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/0.3059, allocations: 11.97 kB / 1.042 GB, free: 8.375 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3059, allocations: 0 / 1.042 GB, free: 8.375 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005029/0.3064, allocations: 301 kB / 1.042 GB, free: 8.059 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.171e-05/0.3065, allocations: 96.86 kB / 1.043 GB, free: 7.945 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.3065, allocations: 7.984 kB / 1.043 GB, free: 7.938 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.3067, allocations: 15.98 kB / 1.043 GB, free: 7.922 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.3068, allocations: 11.92 kB / 1.043 GB, free: 7.91 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.3068, allocations: 8 kB / 1.043 GB, free: 7.902 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.25e-05/0.3069, allocations: 120.9 kB / 1.043 GB, free: 7.785 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3069, allocations: 0 / 1.043 GB, free: 7.785 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004359/0.3073, allocations: 131.9 kB / 1.043 GB, free: 7.656 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (com.isOn) * Number of discrete states: 1 (com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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 Backend phase and start with SimCode phase: time 0.001056/0.3084, allocations: 0.9558 MB / 1.044 GB, free: 6.668 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004783/0.3089, allocations: 183.8 kB / 1.044 GB, free: 6.488 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3089, allocations: 4.062 kB / 1.044 GB, free: 6.484 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002061/0.3091, allocations: 87.84 kB / 1.044 GB, free: 6.398 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.3095, allocations: 48.03 kB / 1.044 GB, free: 6.352 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002792/0.3123, allocations: 2.148 MB / 1.046 GB, free: 4.113 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.3126, allocations: 0.7089 MB / 1.047 GB, free: 3.379 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001484/0.3128, allocations: 29.08 kB / 1.047 GB, free: 3.355 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.499e-05/0.3129, allocations: 43.42 kB / 1.047 GB, free: 3.312 MB / 0.795 GB Notification: Performance of SimCode: time 6.11e-07/0.3129, allocations: 0 / 1.047 GB, free: 3.312 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01554/0.3284, allocations: 5.707 MB / 1.052 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/0.3286, allocations: 237.4 kB / 1.053 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.001/2.33, allocations: 0 / 1.053 GB, free: 13.61 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches