Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001315/0.001315, 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.001423/0.001423, allocations: 217.5 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.379/1.379, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.656/2.656, allocations: 476.7 MB / 0.7714 GB, free: 4.277 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_ZeroInput,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_11_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.00193/0.00193, allocations: 64.31 kB / 1.118 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2832, allocations: 170 MB / 1.284 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003228/0.2864, allocations: 2.077 MB / 1.286 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002506/0.2889, allocations: 1.686 MB / 1.288 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.456e-05/0.289, allocations: 0 / 1.288 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.873e-05/0.2891, allocations: 27.78 kB / 1.288 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.2892, allocations: 47.56 kB / 1.288 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.2902, allocations: 358.8 kB / 1.288 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000247/0.2905, allocations: 219.1 kB / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.2906, allocations: 45.17 kB / 1.288 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.2907, allocations: 79.78 kB / 1.289 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.2909, allocations: 95.66 kB / 1.289 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.285e-05/0.2909, allocations: 20 kB / 1.289 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008285/0.2917, allocations: 427.4 kB / 1.289 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.527e-05/0.2918, allocations: 39.89 kB / 1.289 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.325e-05/0.2919, allocations: 87.66 kB / 1.289 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006198/0.2925, allocations: 434.6 kB / 1.29 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2925, allocations: 0 / 1.29 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2925, allocations: 0 / 1.29 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.697e-06/0.2925, allocations: 4 kB / 1.29 GB, free: 6.086 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.0008139/0.2933, allocations: 453.2 kB / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.2933, allocations: 12.03 kB / 1.29 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.515e-05/0.2934, allocations: 4.422 kB / 1.29 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.356e-05/0.2934, allocations: 50.73 kB / 1.29 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005799/0.294, allocations: 88.73 kB / 1.29 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.2941, allocations: 126.3 kB / 1.29 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.541e-05/0.2942, allocations: 75.95 kB / 1.29 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.841e-05/0.2942, allocations: 16.38 kB / 1.29 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004383/0.2947, allocations: 201.5 kB / 1.291 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.2947, allocations: 0 / 1.291 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.434e-05/0.2947, allocations: 8 kB / 1.291 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.2947, allocations: 7.938 kB / 1.291 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003182/0.295, allocations: 131.9 kB / 1.291 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.2966, allocations: 0.6917 MB / 1.291 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002069/0.2986, allocations: 330.2 kB / 1.292 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/0.2988, allocations: 76.81 kB / 1.292 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005033/0.2994, allocations: 71.92 kB / 1.292 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/0.2994, allocations: 34.56 kB / 1.292 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 3.075e-06/0.2994, allocations: 0 / 1.292 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.001755/0.3012, allocations: 391.1 kB / 1.292 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.3012, allocations: 59.39 kB / 1.292 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.3014, allocations: 156.8 kB / 1.292 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.3014, allocations: 25.7 kB / 1.293 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.184e-05/0.3015, allocations: 123.9 kB / 1.293 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.301e-05/0.3015, allocations: 59.5 kB / 1.293 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.976e-05/0.3016, allocations: 33.7 kB / 1.293 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.3017, allocations: 326.8 kB / 1.293 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.302, allocations: 79.95 kB / 1.293 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.3022, allocations: 83.91 kB / 1.293 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000418/0.3026, allocations: 158.8 kB / 1.293 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3026, allocations: 0 / 1.293 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000969/0.3036, allocations: 292.5 kB / 1.294 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.3036, allocations: 4 kB / 1.294 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3036, allocations: 0 / 1.294 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006033/0.3042, allocations: 121.8 kB / 1.294 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/0.3055, allocations: 111.8 kB / 1.294 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008972/0.3064, allocations: 0.6265 MB / 1.294 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.3066, allocations: 23.92 kB / 1.294 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.3066, allocations: 4 kB / 1.294 GB, free: 0.8672 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.0001454/0.3067, allocations: 129.8 kB / 1.295 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.613e-05/0.3068, allocations: 19.84 kB / 1.295 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009264/0.3077, allocations: 289.1 kB / 1.295 GB, free: 440 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3077, allocations: 0 / 1.295 GB, free: 440 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3077, allocations: 0 / 1.295 GB, free: 440 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3077, allocations: 0 / 1.295 GB, free: 440 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001922/0.3096, allocations: 0.7066 MB / 1.296 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3096, allocations: 0 / 1.296 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001212/0.3109, allocations: 100 kB / 1.296 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005384/0.3114, allocations: 120.7 kB / 1.296 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.3114, allocations: 7.938 kB / 1.296 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008775/0.3123, allocations: 0.6306 MB / 1.296 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3123, allocations: 96 / 1.296 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009685/0.3133, allocations: 369.8 kB / 1.297 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.875e-05/0.3133, allocations: 15.84 kB / 1.297 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.507e-05/0.3133, allocations: 8 kB / 1.297 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002357/0.3136, allocations: 23.97 kB / 1.297 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/0.3136, allocations: 11.98 kB / 1.297 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.3136, allocations: 4 kB / 1.297 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001074/0.3138, allocations: 122.2 kB / 1.297 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.3138, allocations: 0 / 1.297 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004924/0.3142, allocations: 135.5 kB / 1.297 GB, free: 14.08 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.001641/0.3159, allocations: 1.027 MB / 1.298 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009218/0.3168, allocations: 215.8 kB / 1.298 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.3168, allocations: 0 / 1.298 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006093/0.3174, allocations: 142.9 kB / 1.298 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.3179, allocations: 40.09 kB / 1.298 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003967/0.3218, allocations: 2.217 MB / 1.301 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.3222, allocations: 0.7086 MB / 1.301 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001206/0.3223, allocations: 22.73 kB / 1.301 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.375e-05/0.3224, allocations: 43.42 kB / 1.301 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of SimCode: time 9.62e-07/0.3224, allocations: 0 / 1.301 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03018/0.3526, allocations: 6.914 MB / 1.308 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/12.75, allocations: 12.31 kB / 1.308 GB, free: 2.805 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 19.03587764594704]