Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001448/0.001448, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001569/0.001569, allocations: 219 kB / 22.26 MB, free: 5.117 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.321/1.321, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.829/2.829, allocations: 0.49 GB / 0.7951 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",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.00183/0.00183, allocations: 73.88 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2825, allocations: 176.1 MB / 1.326 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.00301/0.2855, allocations: 2.084 MB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002348/0.2879, allocations: 1.69 MB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.136e-05/0.2879, allocations: 4 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.187e-05/0.288, allocations: 15.8 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.417e-05/0.2881, allocations: 51.55 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008622/0.2889, allocations: 362.8 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.2891, allocations: 219.2 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.2893, allocations: 41.88 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.2894, allocations: 83.72 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.2895, allocations: 95.66 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.2895, allocations: 16 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007435/0.2903, allocations: 427.5 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.261e-05/0.2903, allocations: 43.89 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.166e-05/0.2904, allocations: 83.66 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005546/0.291, allocations: 426.7 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.291, allocations: 0 / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.012e-06/0.291, allocations: 0 / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.291, allocations: 0 / 1.331 GB, free: 12.29 MB / 1.029 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.0007566/0.2917, allocations: 469.2 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.2917, allocations: 8.031 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.921e-05/0.2918, allocations: 46.73 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005226/0.2923, allocations: 92.73 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.2924, allocations: 126.3 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.698e-05/0.2925, allocations: 79.89 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.2926, allocations: 16.38 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004015/0.293, allocations: 193.7 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.293, allocations: 0 / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.293, allocations: 8 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.293, allocations: 4 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002941/0.2933, allocations: 131.9 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001287/0.2946, allocations: 0.684 MB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001886/0.2965, allocations: 330.2 kB / 1.333 GB, free: 9.996 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/0.2967, allocations: 76.81 kB / 1.334 GB, free: 9.918 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004147/0.2971, allocations: 71.92 kB / 1.334 GB, free: 9.848 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.2971, allocations: 34.56 kB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/0.2971, allocations: 0 / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.001525/0.2986, allocations: 393.2 kB / 1.334 GB, free: 9.418 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.2987, allocations: 55.34 kB / 1.334 GB, free: 9.352 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.2988, allocations: 157.6 kB / 1.334 GB, free: 9.191 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.2988, allocations: 33.7 kB / 1.334 GB, free: 9.152 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.127e-05/0.2989, allocations: 115.9 kB / 1.334 GB, free: 9.035 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.741e-05/0.299, allocations: 63.5 kB / 1.334 GB, free: 8.973 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.604e-05/0.299, allocations: 33.7 kB / 1.334 GB, free: 8.934 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.2992, allocations: 330.8 kB / 1.335 GB, free: 8.602 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.2994, allocations: 83.95 kB / 1.335 GB, free: 8.52 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001974/0.2996, allocations: 89.05 kB / 1.335 GB, free: 8.434 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003712/0.2999, allocations: 154.9 kB / 1.335 GB, free: 8.281 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2999, allocations: 0 / 1.335 GB, free: 8.281 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008281/0.3008, allocations: 282.3 kB / 1.335 GB, free: 7.996 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.3008, allocations: 8 kB / 1.335 GB, free: 7.988 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.3008, allocations: 0 / 1.335 GB, free: 7.988 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000497/0.3013, allocations: 128.7 kB / 1.335 GB, free: 7.859 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.3024, allocations: 99.95 kB / 1.336 GB, free: 7.762 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008161/0.3032, allocations: 0.6342 MB / 1.336 GB, free: 7.102 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.3034, allocations: 23.92 kB / 1.336 GB, free: 7.078 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.3034, allocations: 4 kB / 1.336 GB, free: 7.074 MB / 1.029 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.000106/0.3035, allocations: 129.8 kB / 1.336 GB, free: 6.938 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.898e-05/0.3036, allocations: 19.84 kB / 1.336 GB, free: 6.918 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008032/0.3044, allocations: 289.5 kB / 1.337 GB, free: 6.621 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3044, allocations: 4 kB / 1.337 GB, free: 6.617 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.3044, allocations: 0 / 1.337 GB, free: 6.617 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.3044, allocations: 0 / 1.337 GB, free: 6.617 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001672/0.306, allocations: 0.6989 MB / 1.337 GB, free: 5.859 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.306, allocations: 0 / 1.337 GB, free: 5.859 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/0.3071, allocations: 103.9 kB / 1.337 GB, free: 5.758 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004338/0.3075, allocations: 118.4 kB / 1.338 GB, free: 5.641 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.3076, allocations: 8 kB / 1.338 GB, free: 5.633 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007777/0.3083, allocations: 0.6342 MB / 1.338 GB, free: 4.973 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3083, allocations: 4 kB / 1.338 GB, free: 4.969 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008233/0.3092, allocations: 361.8 kB / 1.339 GB, free: 4.59 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.286e-05/0.3092, allocations: 15.91 kB / 1.339 GB, free: 4.574 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/0.3092, allocations: 7.938 kB / 1.339 GB, free: 4.566 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.3094, allocations: 19.97 kB / 1.339 GB, free: 4.547 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.248e-05/0.3095, allocations: 7.984 kB / 1.339 GB, free: 4.539 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.3095, allocations: 11.94 kB / 1.339 GB, free: 4.527 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.805e-05/0.3096, allocations: 125.1 kB / 1.339 GB, free: 4.406 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3096, allocations: 0 / 1.339 GB, free: 4.406 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004022/0.31, allocations: 131.5 kB / 1.339 GB, free: 4.277 MB / 1.029 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.001426/0.3114, allocations: 1.03 MB / 1.34 GB, free: 3.215 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008142/0.3122, allocations: 220.2 kB / 1.34 GB, free: 3.004 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3122, allocations: 0 / 1.34 GB, free: 3.004 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005338/0.3127, allocations: 135.9 kB / 1.34 GB, free: 2.871 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.3131, allocations: 47.89 kB / 1.34 GB, free: 2.824 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003421/0.3165, allocations: 2.199 MB / 1.342 GB, free: 0.5273 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.3169, allocations: 0.7203 MB / 1.343 GB, free: 15.78 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 9.092e-05/0.317, allocations: 21.36 kB / 1.343 GB, free: 15.77 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.877e-05/0.317, allocations: 39.42 kB / 1.343 GB, free: 15.73 MB / 1.045 GB Notification: Performance of SimCode: time 2.9e-07/0.317, allocations: 0 / 1.343 GB, free: 15.73 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03387/0.3509, allocations: 6.891 MB / 1.35 GB, free: 9.02 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.93, allocations: 0 / 1.35 GB, free: 9.02 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 17.84367241198197]