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.001392/0.001392, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001582/0.001582, allocations: 214.4 kB / 23.04 MB, free: 5.074 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.326/1.326, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.833/2.833, allocations: 0.49 GB / 0.7959 GB, free: 33.52 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_12_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.001806/0.001806, allocations: 69.78 kB / 1.155 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2818, allocations: 176.1 MB / 1.327 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003026/0.2849, allocations: 2.074 MB / 1.329 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002313/0.2872, allocations: 1.69 MB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.929e-05/0.2872, allocations: 4 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.621e-05/0.2873, allocations: 15.84 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.166e-05/0.2874, allocations: 47.56 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009199/0.2883, allocations: 370.7 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002251/0.2885, allocations: 215.2 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.2886, allocations: 49.81 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.85e-05/0.2887, allocations: 83.72 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.2889, allocations: 91.66 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.2889, allocations: 16 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007537/0.2897, allocations: 423.5 kB / 1.332 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.286e-05/0.2897, allocations: 47.89 kB / 1.332 GB, free: 12.81 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.091e-05/0.2898, allocations: 87.66 kB / 1.332 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005627/0.2903, allocations: 426.7 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2903, allocations: 0 / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2903, allocations: 3.938 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.236e-05/0.2904, allocations: 4 kB / 1.332 GB, free: 12.3 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.0007482/0.2911, allocations: 453.2 kB / 1.333 GB, free: 11.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.2911, allocations: 12.03 kB / 1.333 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.296e-05/0.2912, allocations: 4.422 kB / 1.333 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.884e-05/0.2912, allocations: 50.73 kB / 1.333 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000542/0.2917, allocations: 92.73 kB / 1.333 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.2919, allocations: 122.3 kB / 1.333 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.278e-05/0.2919, allocations: 75.95 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.518e-05/0.292, allocations: 20.31 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004274/0.2924, allocations: 193.5 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.2924, allocations: 0 / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.2924, allocations: 4 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.2925, allocations: 8 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003094/0.2928, allocations: 131.9 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.2941, allocations: 0.6879 MB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001927/0.296, allocations: 322.3 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002013/0.2962, allocations: 82.92 kB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004017/0.2966, allocations: 71.86 kB / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.2967, allocations: 38.56 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/0.2967, allocations: 0 / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.001606/0.2983, allocations: 389 kB / 1.335 GB, free: 9.43 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.2983, allocations: 59.39 kB / 1.335 GB, free: 9.359 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.2985, allocations: 152.2 kB / 1.335 GB, free: 9.203 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.2985, allocations: 33.7 kB / 1.335 GB, free: 9.164 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.833e-05/0.2986, allocations: 119.9 kB / 1.335 GB, free: 9.043 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.009e-05/0.2986, allocations: 59.5 kB / 1.335 GB, free: 8.984 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.617e-05/0.2987, allocations: 37.7 kB / 1.335 GB, free: 8.941 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.2988, allocations: 326.8 kB / 1.336 GB, free: 8.613 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.299, allocations: 83.95 kB / 1.336 GB, free: 8.531 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.2992, allocations: 87.91 kB / 1.336 GB, free: 8.445 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003956/0.2996, allocations: 154.5 kB / 1.336 GB, free: 8.293 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2996, allocations: 0 / 1.336 GB, free: 8.293 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008529/0.3005, allocations: 288 kB / 1.336 GB, free: 8.004 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.3005, allocations: 8 kB / 1.336 GB, free: 7.996 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.3005, allocations: 4 kB / 1.336 GB, free: 7.992 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005264/0.301, allocations: 124.6 kB / 1.336 GB, free: 7.871 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.3022, allocations: 107.8 kB / 1.336 GB, free: 7.766 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008122/0.303, allocations: 0.6265 MB / 1.337 GB, free: 7.113 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.3032, allocations: 23.92 kB / 1.337 GB, free: 7.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.3032, allocations: 8 kB / 1.337 GB, free: 7.082 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.0001188/0.3033, allocations: 130.4 kB / 1.337 GB, free: 6.945 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.92e-05/0.3034, allocations: 19.84 kB / 1.337 GB, free: 6.926 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008396/0.3042, allocations: 281.8 kB / 1.337 GB, free: 6.637 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.912e-06/0.3042, allocations: 4 kB / 1.337 GB, free: 6.633 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3042, allocations: 0 / 1.337 GB, free: 6.633 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3042, allocations: 0 / 1.337 GB, free: 6.633 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/0.3059, allocations: 0.7012 MB / 1.338 GB, free: 5.875 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3059, allocations: 4.062 kB / 1.338 GB, free: 5.871 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/0.3071, allocations: 99.89 kB / 1.338 GB, free: 5.773 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004749/0.3076, allocations: 116.8 kB / 1.338 GB, free: 5.656 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.3076, allocations: 15.94 kB / 1.338 GB, free: 5.641 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007787/0.3084, allocations: 0.6189 MB / 1.339 GB, free: 4.996 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3084, allocations: 4 kB / 1.339 GB, free: 4.992 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008632/0.3092, allocations: 369.9 kB / 1.339 GB, free: 4.605 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.3093, allocations: 15.89 kB / 1.339 GB, free: 4.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.3093, allocations: 8 kB / 1.339 GB, free: 4.582 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.3095, allocations: 15.97 kB / 1.339 GB, free: 4.566 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/0.3095, allocations: 11.98 kB / 1.339 GB, free: 4.555 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.3096, allocations: 4 kB / 1.339 GB, free: 4.551 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.445e-05/0.3097, allocations: 124.9 kB / 1.339 GB, free: 4.43 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3097, allocations: 4 kB / 1.339 GB, free: 4.426 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004391/0.3101, allocations: 131.5 kB / 1.34 GB, free: 4.297 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.001491/0.3116, allocations: 1.031 MB / 1.341 GB, free: 3.23 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008765/0.3125, allocations: 223.7 kB / 1.341 GB, free: 3.012 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.3125, allocations: 0 / 1.341 GB, free: 3.012 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005552/0.313, allocations: 131.9 kB / 1.341 GB, free: 2.883 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.3134, allocations: 47.91 kB / 1.341 GB, free: 2.836 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003508/0.3169, allocations: 2.205 MB / 1.343 GB, free: 0.5391 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.3172, allocations: 0.7125 MB / 1.344 GB, free: 15.8 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 9.833e-05/0.3173, allocations: 19.86 kB / 1.344 GB, free: 15.79 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.304e-05/0.3174, allocations: 43.42 kB / 1.344 GB, free: 15.74 MB / 1.045 GB Notification: Performance of SimCode: time 5.81e-07/0.3174, allocations: 3.938 kB / 1.344 GB, free: 15.74 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02704/0.3445, allocations: 6.917 MB / 1.351 GB, free: 9.02 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.17, allocations: 3 kB / 1.351 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: 18.23398076801095]