Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",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.001589/0.001589, 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.001592/0.001592, allocations: 196 kB / 16.53 MB, free: 6.699 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.41/1.41, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.832/2.832, allocations: 469.8 MB / 0.7424 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.003065/0.003065, allocations: 71.48 kB / 0.9087 GB, free: 34.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3081, allocations: 159.2 MB / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003257/0.3113, allocations: 2.033 MB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002418/0.3138, allocations: 1.662 MB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.545e-05/0.3138, allocations: 0 / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.292e-05/0.3139, allocations: 19.84 kB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.996e-05/0.314, allocations: 47.56 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008995/0.3149, allocations: 354.8 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002243/0.3152, allocations: 219.1 kB / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.3153, allocations: 57.45 kB / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.3154, allocations: 83.77 kB / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.3156, allocations: 79.73 kB / 1.069 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.412e-05/0.3156, allocations: 20 kB / 1.069 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007597/0.3164, allocations: 399.5 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.206e-05/0.3164, allocations: 51.84 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.002e-05/0.3165, allocations: 83.64 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00058/0.3171, allocations: 431.2 kB / 1.069 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.3171, allocations: 0 / 1.069 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3171, allocations: 0 / 1.069 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.3171, allocations: 0 / 1.069 GB, free: 8.715 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.0008224/0.318, allocations: 0.5147 MB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.318, allocations: 16.03 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.151e-05/0.3181, allocations: 50.73 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006127/0.3187, allocations: 84.73 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.3189, allocations: 188 kB / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.929e-05/0.319, allocations: 50.25 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.319, allocations: 12.38 kB / 1.07 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004297/0.3194, allocations: 182.6 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3195, allocations: 4 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.3195, allocations: 4 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.3195, allocations: 4 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000497/0.32, allocations: 183.9 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.3214, allocations: 0.9111 MB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005393/0.322, allocations: 174.6 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.3222, allocations: 72.83 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007287/0.3229, allocations: 0.522 MB / 1.072 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.323, allocations: 38.56 kB / 1.072 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.323, allocations: 0 / 1.072 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0007466/0.3237, allocations: 239.8 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.3238, allocations: 55.41 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.3239, allocations: 158.4 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.324, allocations: 29.7 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.15e-05/0.3241, allocations: 115.8 kB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.661e-05/0.3241, allocations: 51.3 kB / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.493e-05/0.3242, allocations: 33.7 kB / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3244, allocations: 326.8 kB / 1.073 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.3246, allocations: 75.95 kB / 1.073 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.3248, allocations: 93.61 kB / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000415/0.3252, allocations: 159.4 kB / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3253, allocations: 0 / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000544/0.3258, allocations: 213.4 kB / 1.074 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.3258, allocations: 5.406 kB / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3258, allocations: 3.984 kB / 1.074 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.3259, allocations: 4 kB / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/0.3261, allocations: 35.97 kB / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/0.3261, allocations: 4.031 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.3263, allocations: 23.77 kB / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.3264, allocations: 15.92 kB / 1.074 GB, free: 3.684 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.0001186/0.3265, allocations: 125.8 kB / 1.074 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/0.3266, allocations: 15.81 kB / 1.074 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005589/0.3271, allocations: 207.7 kB / 1.074 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3271, allocations: 0 / 1.074 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3271, allocations: 3.938 kB / 1.074 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3272, allocations: 0 / 1.074 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.3287, allocations: 0.9817 MB / 1.075 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.3287, allocations: 0 / 1.075 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/0.3289, allocations: 31.97 kB / 1.075 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3289, allocations: 0 / 1.075 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.329, allocations: 12.06 kB / 1.075 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.329, allocations: 0 / 1.075 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/0.329, allocations: 3.938 kB / 1.075 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005275/0.3295, allocations: 281 kB / 1.076 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.349e-05/0.3296, allocations: 100.9 kB / 1.076 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.3296, allocations: 0 / 1.076 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.3299, allocations: 15.98 kB / 1.076 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.3299, allocations: 11.92 kB / 1.076 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.3299, allocations: 4 kB / 1.076 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.347e-05/0.33, allocations: 122.3 kB / 1.076 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.33, allocations: 0 / 1.076 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004714/0.3305, allocations: 135.8 kB / 1.076 GB, free: 1.445 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.001158/0.3317, allocations: 0.9461 MB / 1.077 GB, free: 480 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000524/0.3322, allocations: 189.5 kB / 1.077 GB, free: 292 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3322, allocations: 0 / 1.077 GB, free: 292 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000221/0.3325, allocations: 79.91 kB / 1.077 GB, free: 212 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.3329, allocations: 48.09 kB / 1.077 GB, free: 164 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002916/0.3358, allocations: 2.05 MB / 1.079 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.3361, allocations: 0.7164 MB / 1.08 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001625/0.3363, allocations: 25.56 kB / 1.08 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.3364, allocations: 51.34 kB / 1.08 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of SimCode: time 3.7e-07/0.3364, allocations: 0 / 1.08 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02778/0.3642, allocations: 5.989 MB / 1.086 GB, free: 7.367 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.7/8.064, allocations: 0 / 1.086 GB, free: 7.367 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv --start-time 0 --stop-time 100 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches