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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001803/0.001803, allocations: 216.8 kB / 23.04 MB, free: 5.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.378/1.378, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.647/2.647, allocations: 476.7 MB / 0.7715 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 68.53 kB / 1.118 GB, free: 39.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2783, allocations: 170 MB / 1.284 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003376/0.2817, allocations: 2.077 MB / 1.286 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002622/0.2843, allocations: 1.686 MB / 1.288 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.221e-05/0.2844, allocations: 4 kB / 1.288 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.29e-05/0.2845, allocations: 15.8 kB / 1.288 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.2846, allocations: 51.55 kB / 1.288 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.2856, allocations: 358.8 kB / 1.288 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002408/0.2858, allocations: 219.1 kB / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.2859, allocations: 45.16 kB / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.286, allocations: 87.72 kB / 1.289 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.2862, allocations: 87.67 kB / 1.289 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.138e-05/0.2862, allocations: 20 kB / 1.289 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008353/0.2871, allocations: 427.5 kB / 1.289 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.598e-05/0.2871, allocations: 39.89 kB / 1.289 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.085e-05/0.2872, allocations: 87.66 kB / 1.289 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006322/0.2878, allocations: 438.6 kB / 1.29 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2878, allocations: 4 kB / 1.29 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2878, allocations: 0 / 1.29 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.2879, allocations: 0 / 1.29 GB, free: 5.965 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008244/0.2887, allocations: 457.2 kB / 1.29 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.2887, allocations: 8.031 kB / 1.29 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.458e-05/0.2887, allocations: 4.422 kB / 1.29 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.402e-05/0.2888, allocations: 54.73 kB / 1.29 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005687/0.2894, allocations: 84.75 kB / 1.29 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.2895, allocations: 130.3 kB / 1.29 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.294e-05/0.2896, allocations: 71.97 kB / 1.29 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.2896, allocations: 12.38 kB / 1.29 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004506/0.29, allocations: 205.5 kB / 1.291 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.2901, allocations: 0 / 1.291 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.2901, allocations: 8 kB / 1.291 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.2901, allocations: 3.984 kB / 1.291 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000312/0.2904, allocations: 131.9 kB / 1.291 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/0.2918, allocations: 0.6955 MB / 1.291 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002007/0.2938, allocations: 330.1 kB / 1.292 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002279/0.294, allocations: 76.83 kB / 1.292 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004667/0.2945, allocations: 67.91 kB / 1.292 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.2945, allocations: 38.56 kB / 1.292 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.2945, allocations: 4 kB / 1.292 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.001748/0.2963, allocations: 392.3 kB / 1.292 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.2963, allocations: 51.41 kB / 1.292 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.2965, allocations: 165.5 kB / 1.292 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.2965, allocations: 25.7 kB / 1.293 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.826e-05/0.2966, allocations: 115.9 kB / 1.293 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.2e-05/0.2966, allocations: 59.52 kB / 1.293 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.588e-05/0.2967, allocations: 37.7 kB / 1.293 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.2969, allocations: 326.8 kB / 1.293 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.2971, allocations: 83.89 kB / 1.293 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/0.2973, allocations: 79.95 kB / 1.293 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004151/0.2977, allocations: 162.8 kB / 1.293 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.2977, allocations: 4 kB / 1.293 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0009513/0.2987, allocations: 284.7 kB / 1.294 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.2987, allocations: 8 kB / 1.294 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2987, allocations: 0 / 1.294 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005755/0.2993, allocations: 127.7 kB / 1.294 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.3005, allocations: 107.8 kB / 1.294 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008884/0.3014, allocations: 0.6265 MB / 1.294 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.3016, allocations: 27.92 kB / 1.294 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.3016, allocations: 4 kB / 1.294 GB, free: 0.7383 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000143/0.3018, allocations: 119.2 kB / 1.295 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.64e-05/0.3018, allocations: 19.84 kB / 1.295 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009093/0.3027, allocations: 284.5 kB / 1.295 GB, free: 316 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.3027, allocations: 4 kB / 1.295 GB, free: 312 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3027, allocations: 0 / 1.295 GB, free: 312 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.3027, allocations: 0 / 1.295 GB, free: 312 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001866/0.3046, allocations: 0.7027 MB / 1.296 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.3046, allocations: 8.125 kB / 1.296 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/0.3058, allocations: 96.03 kB / 1.296 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005399/0.3064, allocations: 129.8 kB / 1.296 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.3064, allocations: 7.938 kB / 1.296 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008716/0.3073, allocations: 0.6342 MB / 1.296 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3073, allocations: 0 / 1.296 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009373/0.3082, allocations: 361.8 kB / 1.297 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.387e-05/0.3083, allocations: 19.91 kB / 1.297 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.935e-05/0.3083, allocations: 4 kB / 1.297 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.3085, allocations: 19.98 kB / 1.297 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.3086, allocations: 11.97 kB / 1.297 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.3086, allocations: 4 kB / 1.297 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000103/0.3087, allocations: 123.2 kB / 1.297 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3087, allocations: 0 / 1.297 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004838/0.3092, allocations: 135.5 kB / 1.297 GB, free: 13.95 MB / 0.9981 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001628/0.3108, allocations: 1.019 MB / 1.298 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009305/0.3117, allocations: 227.7 kB / 1.298 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.3117, allocations: 4 kB / 1.298 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006162/0.3124, allocations: 128 kB / 1.298 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/0.3128, allocations: 43.89 kB / 1.298 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003889/0.3167, allocations: 2.197 MB / 1.301 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.317, allocations: 0.7125 MB / 1.301 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001258/0.3171, allocations: 29.3 kB / 1.301 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.055e-05/0.3172, allocations: 43.42 kB / 1.301 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of SimCode: time 1.232e-06/0.3172, allocations: 0 / 1.301 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03006/0.3473, allocations: 6.912 MB / 1.308 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/12.73, allocations: 8.062 kB / 1.308 GB, free: 2.688 MB / 0.9981 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.00837205001153]