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.001435/0.001435, 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.001389/0.001389, allocations: 216.4 kB / 22.25 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.32/1.32, allocations: 230.6 MB / 256 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.878/2.878, allocations: 0.49 GB / 0.7951 GB, free: 33.56 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",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.001886/0.001886, allocations: 70.06 kB / 1.154 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2818, allocations: 176.1 MB / 1.326 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003194/0.285, allocations: 2.074 MB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00245/0.2875, allocations: 1.69 MB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.428e-05/0.2876, allocations: 0 / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.351e-05/0.2876, allocations: 23.78 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.2877, allocations: 47.55 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.2887, allocations: 362.8 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.289, allocations: 219.2 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.2891, allocations: 43.38 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.2892, allocations: 87.72 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.2894, allocations: 91.66 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.352e-05/0.2894, allocations: 20 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009229/0.2904, allocations: 423.5 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.672e-05/0.2904, allocations: 43.89 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.2905, allocations: 87.66 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006567/0.2912, allocations: 430.7 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.2912, allocations: 3.938 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2912, allocations: 0 / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.2912, allocations: 0 / 1.331 GB, free: 12.34 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.0008043/0.292, allocations: 453.2 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.292, allocations: 12.03 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.898e-05/0.2921, allocations: 50.67 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005216/0.2926, allocations: 92.73 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.2927, allocations: 126.3 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.888e-05/0.2928, allocations: 79.95 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.42e-05/0.2929, allocations: 16.38 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004003/0.2933, allocations: 193.7 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.2933, allocations: 0 / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.2933, allocations: 4 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.2933, allocations: 4 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002963/0.2936, allocations: 123.9 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.2949, allocations: 0.6957 MB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001884/0.2968, allocations: 322.2 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002022/0.297, allocations: 78.78 kB / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004409/0.2974, allocations: 79.86 kB / 1.334 GB, free: 9.902 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.2975, allocations: 30.56 kB / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.2975, allocations: 0 / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.001518/0.299, allocations: 391.6 kB / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.992e-05/0.299, allocations: 55.41 kB / 1.334 GB, free: 9.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.2992, allocations: 156.3 kB / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.2992, allocations: 33.7 kB / 1.334 GB, free: 9.211 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.478e-05/0.2993, allocations: 119.9 kB / 1.334 GB, free: 9.09 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.661e-05/0.2993, allocations: 55.52 kB / 1.334 GB, free: 9.035 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.18e-05/0.2994, allocations: 41.7 kB / 1.334 GB, free: 8.988 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.2995, allocations: 322.8 kB / 1.335 GB, free: 8.664 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.2997, allocations: 83.89 kB / 1.335 GB, free: 8.582 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.2999, allocations: 97.56 kB / 1.335 GB, free: 8.488 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003653/0.3003, allocations: 150.5 kB / 1.335 GB, free: 8.34 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3003, allocations: 0 / 1.335 GB, free: 8.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008284/0.3011, allocations: 286.3 kB / 1.335 GB, free: 8.051 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.3011, allocations: 4 kB / 1.335 GB, free: 8.047 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3011, allocations: 0 / 1.335 GB, free: 8.047 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005165/0.3016, allocations: 126.7 kB / 1.335 GB, free: 7.922 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.3027, allocations: 104 kB / 1.336 GB, free: 7.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000804/0.3035, allocations: 0.6381 MB / 1.336 GB, free: 7.156 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.3037, allocations: 23.92 kB / 1.336 GB, free: 7.133 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.3037, allocations: 11.98 kB / 1.336 GB, free: 7.121 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.0001241/0.3038, allocations: 126.5 kB / 1.336 GB, free: 6.988 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.867e-05/0.3039, allocations: 19.84 kB / 1.336 GB, free: 6.969 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008083/0.3047, allocations: 283.3 kB / 1.337 GB, free: 6.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3047, allocations: 0 / 1.337 GB, free: 6.68 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3047, allocations: 0 / 1.337 GB, free: 6.68 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.413e-06/0.3047, allocations: 7.984 kB / 1.337 GB, free: 6.672 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.3064, allocations: 0.7023 MB / 1.337 GB, free: 5.914 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3064, allocations: 0 / 1.337 GB, free: 5.914 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/0.3075, allocations: 99.95 kB / 1.337 GB, free: 5.816 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004526/0.3079, allocations: 123.8 kB / 1.338 GB, free: 5.695 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.3079, allocations: 8.125 kB / 1.338 GB, free: 5.688 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007747/0.3087, allocations: 0.6343 MB / 1.338 GB, free: 5.027 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3087, allocations: 3.938 kB / 1.338 GB, free: 5.023 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008368/0.3096, allocations: 361.8 kB / 1.339 GB, free: 4.645 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.569e-05/0.3096, allocations: 15.91 kB / 1.339 GB, free: 4.629 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-05/0.3096, allocations: 7.984 kB / 1.339 GB, free: 4.621 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.3098, allocations: 15.98 kB / 1.339 GB, free: 4.605 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.3099, allocations: 11.92 kB / 1.339 GB, free: 4.594 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.3099, allocations: 11.98 kB / 1.339 GB, free: 4.582 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.033e-05/0.31, allocations: 117.1 kB / 1.339 GB, free: 4.469 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.31, allocations: 0 / 1.339 GB, free: 4.469 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004279/0.3104, allocations: 135.5 kB / 1.339 GB, free: 4.336 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.001446/0.3119, allocations: 1.027 MB / 1.34 GB, free: 3.273 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008158/0.3127, allocations: 217.2 kB / 1.34 GB, free: 3.062 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3127, allocations: 0 / 1.34 GB, free: 3.062 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005498/0.3132, allocations: 135.8 kB / 1.34 GB, free: 2.93 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/0.3136, allocations: 47.98 kB / 1.34 GB, free: 2.883 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003578/0.3172, allocations: 2.223 MB / 1.342 GB, free: 0.5664 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.3175, allocations: 0.7125 MB / 1.343 GB, free: 15.83 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 9.477e-05/0.3176, allocations: 19.61 kB / 1.343 GB, free: 15.81 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.26e-05/0.3177, allocations: 43.42 kB / 1.343 GB, free: 15.77 MB / 1.045 GB Notification: Performance of SimCode: time 3.9e-07/0.3177, allocations: 3.938 kB / 1.343 GB, free: 15.77 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03352/0.3512, allocations: 6.89 MB / 1.35 GB, free: 9.062 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/11.96, allocations: 2.625 kB / 1.35 GB, free: 9.062 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: 17.883102658903226]