Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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.001436/0.001436, 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.001585/0.001585, allocations: 214.9 kB / 23.04 MB, free: 5.07 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.341/1.341, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.937/2.937, allocations: 0.49 GB / 0.7959 GB, free: 33.48 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_ZeroInput,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",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.001825/0.001825, allocations: 64.77 kB / 1.155 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2827, allocations: 176.1 MB / 1.327 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003051/0.2857, allocations: 2.066 MB / 1.329 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002382/0.2881, allocations: 1.695 MB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.151e-05/0.2881, allocations: 4 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.948e-05/0.2882, allocations: 15.8 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.547e-05/0.2883, allocations: 55.55 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008736/0.2892, allocations: 358.8 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.2894, allocations: 215.2 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.2895, allocations: 41.88 kB / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.942e-05/0.2896, allocations: 91.7 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.2897, allocations: 87.69 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.868e-05/0.2898, allocations: 16 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007285/0.2905, allocations: 427.5 kB / 1.332 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.662e-05/0.2905, allocations: 39.91 kB / 1.332 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.295e-05/0.2906, allocations: 87.64 kB / 1.332 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005452/0.2912, allocations: 430.7 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2912, allocations: 7.938 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.093e-06/0.2912, allocations: 4 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.2912, allocations: 0 / 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.0007389/0.2919, allocations: 457.2 kB / 1.333 GB, free: 11.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.2919, allocations: 8.031 kB / 1.333 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.727e-05/0.292, allocations: 8.406 kB / 1.333 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.646e-05/0.292, allocations: 46.73 kB / 1.333 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005293/0.2925, allocations: 92.75 kB / 1.333 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.2927, allocations: 130.2 kB / 1.333 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-05/0.2927, allocations: 75.91 kB / 1.333 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.01e-05/0.2928, allocations: 20.38 kB / 1.333 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004096/0.2932, allocations: 197.5 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.2932, allocations: 0 / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/0.2932, allocations: 4 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.2932, allocations: 4 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002962/0.2935, allocations: 127.9 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/0.2948, allocations: 0.684 MB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001918/0.2967, allocations: 326.3 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001997/0.2969, allocations: 80.75 kB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004219/0.2974, allocations: 79.89 kB / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.2974, allocations: 34.56 kB / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.152e-06/0.2974, allocations: 0 / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.001568/0.299, allocations: 389.5 kB / 1.335 GB, free: 9.426 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.299, allocations: 51.41 kB / 1.335 GB, free: 9.363 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.2991, allocations: 159.9 kB / 1.335 GB, free: 9.199 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.757e-05/0.2992, allocations: 33.7 kB / 1.335 GB, free: 9.16 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.578e-05/0.2992, allocations: 119.9 kB / 1.335 GB, free: 9.039 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.94e-05/0.2993, allocations: 55.53 kB / 1.335 GB, free: 8.984 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.854e-05/0.2994, allocations: 37.7 kB / 1.335 GB, free: 8.941 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002314/0.2996, allocations: 322.8 kB / 1.336 GB, free: 8.617 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.2998, allocations: 79.95 kB / 1.336 GB, free: 8.539 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/0.3, allocations: 87.84 kB / 1.336 GB, free: 8.453 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003926/0.3004, allocations: 159.7 kB / 1.336 GB, free: 8.297 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3004, allocations: 4 kB / 1.336 GB, free: 8.293 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008661/0.3013, allocations: 278.3 kB / 1.336 GB, free: 8.012 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.3013, allocations: 8 kB / 1.336 GB, free: 8.004 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3013, allocations: 0 / 1.336 GB, free: 8.004 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005322/0.3019, allocations: 128.7 kB / 1.336 GB, free: 7.875 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.303, allocations: 103.9 kB / 1.336 GB, free: 7.773 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008153/0.3038, allocations: 0.6265 MB / 1.337 GB, free: 7.121 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.304, allocations: 27.92 kB / 1.337 GB, free: 7.094 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.304, allocations: 7.938 kB / 1.337 GB, free: 7.086 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.0001209/0.3042, allocations: 121.8 kB / 1.337 GB, free: 6.957 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.192e-05/0.3042, allocations: 19.84 kB / 1.337 GB, free: 6.938 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008623/0.3051, allocations: 293.8 kB / 1.337 GB, free: 6.641 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3051, allocations: 4 kB / 1.337 GB, free: 6.637 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3051, allocations: 0 / 1.337 GB, free: 6.637 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3051, allocations: 4 kB / 1.337 GB, free: 6.633 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/0.3068, allocations: 0.7023 MB / 1.338 GB, free: 5.875 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.3068, allocations: 3.984 kB / 1.338 GB, free: 5.871 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/0.308, allocations: 99.97 kB / 1.338 GB, free: 5.773 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004767/0.3084, allocations: 124.7 kB / 1.338 GB, free: 5.648 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.3085, allocations: 7.938 kB / 1.338 GB, free: 5.641 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007958/0.3093, allocations: 0.6265 MB / 1.339 GB, free: 4.988 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.3093, allocations: 4 kB / 1.339 GB, free: 4.984 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008942/0.3102, allocations: 365.8 kB / 1.339 GB, free: 4.602 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.281e-05/0.3102, allocations: 15.91 kB / 1.339 GB, free: 4.586 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.521e-05/0.3102, allocations: 4 kB / 1.339 GB, free: 4.582 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.3104, allocations: 15.98 kB / 1.339 GB, free: 4.566 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.3105, allocations: 15.91 kB / 1.339 GB, free: 4.551 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.3105, allocations: 8 kB / 1.339 GB, free: 4.543 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.717e-05/0.3106, allocations: 121.2 kB / 1.339 GB, free: 4.426 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3106, allocations: 0 / 1.339 GB, free: 4.426 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00045/0.311, 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.001529/0.3126, allocations: 1.027 MB / 1.341 GB, free: 3.234 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008572/0.3134, allocations: 221.2 kB / 1.341 GB, free: 3.02 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.3134, allocations: 8 kB / 1.341 GB, free: 3.012 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005718/0.314, allocations: 124.1 kB / 1.341 GB, free: 2.891 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004081/0.3144, allocations: 44.09 kB / 1.341 GB, free: 2.848 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003646/0.3181, allocations: 2.224 MB / 1.343 GB, free: 0.5312 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.3184, allocations: 0.7203 MB / 1.344 GB, free: 15.79 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 9.733e-05/0.3185, allocations: 23.36 kB / 1.344 GB, free: 15.77 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.809e-05/0.3186, allocations: 43.36 kB / 1.344 GB, free: 15.72 MB / 1.045 GB Notification: Performance of SimCode: time 4.01e-07/0.3186, allocations: 3.938 kB / 1.344 GB, free: 15.72 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02744/0.346, allocations: 6.906 MB / 1.351 GB, free: 9.016 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.15, allocations: 11.94 kB / 1.351 GB, free: 9.004 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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.30734171398217]