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.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: "" <> 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.001421/0.001421, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 197 kB / 16.53 MB, free: 6.664 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.351/1.351, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.678/2.678, allocations: 469.4 MB / 0.742 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 64.52 kB / 0.9083 GB, free: 34.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2726, allocations: 159.1 MB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003546/0.2762, allocations: 2.033 MB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002351/0.2786, allocations: 1.659 MB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.526e-05/0.2787, allocations: 8 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.51e-05/0.2788, allocations: 19.8 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000139/0.2789, allocations: 51.55 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.2801, allocations: 358.7 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.2803, allocations: 215.2 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.2805, allocations: 46.98 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.2806, allocations: 87.77 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.2808, allocations: 83.73 kB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.455e-05/0.2808, allocations: 16 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007749/0.2816, allocations: 407.5 kB / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.527e-05/0.2816, allocations: 39.84 kB / 1.069 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.786e-05/0.2817, allocations: 87.66 kB / 1.069 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006126/0.2824, allocations: 427.2 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2824, allocations: 4 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2824, allocations: 0 / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.2824, allocations: 0 / 1.069 GB, free: 8.996 MB / 0.8262 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.0007709/0.2832, allocations: 0.5147 MB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.2832, allocations: 8.031 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.154e-05/0.2833, allocations: 46.75 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006425/0.2839, allocations: 84.73 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.2841, allocations: 192.1 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.712e-05/0.2842, allocations: 42.27 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.972e-05/0.2842, allocations: 20.31 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004099/0.2846, allocations: 190.3 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.2846, allocations: 0 / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.2847, allocations: 8 kB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.2847, allocations: 4 kB / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004541/0.2851, allocations: 176.5 kB / 1.07 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.2865, allocations: 0.9189 MB / 1.071 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005011/0.287, allocations: 170.6 kB / 1.071 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/0.2872, allocations: 80.83 kB / 1.071 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006465/0.2878, allocations: 0.522 MB / 1.072 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.2879, allocations: 30.56 kB / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.2879, allocations: 4 kB / 1.072 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0006999/0.2886, allocations: 241.6 kB / 1.072 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.2886, allocations: 51.41 kB / 1.072 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.2888, allocations: 164.9 kB / 1.072 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.2888, allocations: 29.7 kB / 1.072 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.817e-05/0.2889, allocations: 111.8 kB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.791e-05/0.2889, allocations: 55.3 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.026e-05/0.289, allocations: 41.64 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.809e-05/0.2891, allocations: 322.8 kB / 1.073 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.2893, allocations: 71.95 kB / 1.073 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.2895, allocations: 95.73 kB / 1.073 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003846/0.2899, allocations: 157.5 kB / 1.073 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.29, allocations: 0 / 1.073 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005166/0.2905, allocations: 211.1 kB / 1.073 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.2905, allocations: 4 kB / 1.073 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2905, allocations: 8.031 kB / 1.073 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.2905, allocations: 0 / 1.073 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/0.2908, allocations: 39.91 kB / 1.073 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.2908, allocations: 0 / 1.073 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/0.291, allocations: 27.77 kB / 1.074 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.291, allocations: 8 kB / 1.074 GB, free: 3.969 MB / 0.8262 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.0001043/0.2911, allocations: 126.2 kB / 1.074 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.263e-05/0.2912, allocations: 19.81 kB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005228/0.2917, allocations: 200.5 kB / 1.074 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.2917, allocations: 0 / 1.074 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.2917, allocations: 4 kB / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.2917, allocations: 3.984 kB / 1.074 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/0.2932, allocations: 0.9739 MB / 1.075 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.2932, allocations: 0 / 1.075 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/0.2934, allocations: 39.97 kB / 1.075 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.2934, allocations: 4 kB / 1.075 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.2934, allocations: 0 / 1.075 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.2934, allocations: 4 kB / 1.075 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2934, allocations: 0 / 1.075 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000502/0.294, allocations: 289 kB / 1.075 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.859e-05/0.294, allocations: 88.95 kB / 1.075 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.845e-05/0.2941, allocations: 8 kB / 1.075 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/0.2943, allocations: 15.97 kB / 1.075 GB, free: 2 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.2944, allocations: 15.92 kB / 1.075 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.2944, allocations: 8 kB / 1.075 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.701e-05/0.2945, allocations: 119.2 kB / 1.075 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2945, allocations: 0 / 1.075 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004278/0.2949, allocations: 131.8 kB / 1.076 GB, free: 1.73 MB / 0.8262 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.001041/0.296, allocations: 0.947 MB / 1.076 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004951/0.2965, allocations: 179.8 kB / 1.077 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.2965, allocations: 0 / 1.077 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002091/0.2967, allocations: 79.91 kB / 1.077 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004363/0.2971, allocations: 56.95 kB / 1.077 GB, free: 456 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002872/0.3, allocations: 2.079 MB / 1.079 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.3003, allocations: 0.7086 MB / 1.079 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001591/0.3004, allocations: 30.84 kB / 1.079 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.255e-05/0.3005, allocations: 39.42 kB / 1.08 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of SimCode: time 3.51e-07/0.3005, allocations: 4 kB / 1.08 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02171/0.3222, allocations: 6.006 MB / 1.085 GB, free: 7.656 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.535/7.858, allocations: 9.5 kB / 1.085 GB, free: 7.648 MB / 0.8419 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 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.csv","/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