Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 106.2 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.695/2.695, allocations: 476.7 MB / 0.7611 GB, free: 11.29 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 71.88 kB / 1.104 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8139/0.8159, allocations: 168.7 MB / 1.269 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003732/0.8197, allocations: 2.041 MB / 1.271 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002708/0.8224, allocations: 1.674 MB / 1.272 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.8225, allocations: 0 / 1.272 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.194e-05/0.8226, allocations: 27.72 kB / 1.272 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.8227, allocations: 47.55 kB / 1.272 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.8238, allocations: 358.8 kB / 1.273 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002867/0.8241, allocations: 215.2 kB / 1.273 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.8243, allocations: 39.3 kB / 1.273 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.8244, allocations: 79.78 kB / 1.273 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.8246, allocations: 91.66 kB / 1.273 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.292e-05/0.8246, allocations: 16 kB / 1.273 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008456/0.8254, allocations: 423.5 kB / 1.274 GB, free: 160 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.809e-05/0.8255, allocations: 43.84 kB / 1.274 GB, free: 116 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.367e-05/0.8256, allocations: 91.64 kB / 1.274 GB, free: 24 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006281/0.8262, allocations: 422.7 kB / 1.274 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.8262, allocations: 0 / 1.274 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8262, allocations: 0 / 1.274 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.8262, allocations: 4 kB / 1.274 GB, free: 15.61 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.0008393/0.8271, allocations: 0.5295 MB / 1.275 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.8271, allocations: 8.031 kB / 1.275 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.93e-05/0.8272, allocations: 50.73 kB / 1.275 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005433/0.8277, allocations: 92.73 kB / 1.275 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.8278, allocations: 176.2 kB / 1.275 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.887e-05/0.8279, allocations: 50.25 kB / 1.275 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.259e-05/0.828, allocations: 16.31 kB / 1.275 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004018/0.8284, allocations: 189.7 kB / 1.275 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.8284, allocations: 4 kB / 1.275 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/0.8284, allocations: 8 kB / 1.275 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.8284, allocations: 7.984 kB / 1.275 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004531/0.8289, allocations: 179.8 kB / 1.275 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001397/0.8303, allocations: 0.9151 MB / 1.276 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004718/0.8307, allocations: 158.6 kB / 1.276 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.8309, allocations: 68.83 kB / 1.277 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006732/0.8316, allocations: 0.5181 MB / 1.277 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.8316, allocations: 38.55 kB / 1.277 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.8316, allocations: 0 / 1.277 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0006825/0.8323, allocations: 237.8 kB / 1.277 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.8323, allocations: 55.41 kB / 1.277 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.8325, allocations: 157.3 kB / 1.277 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.8325, allocations: 33.7 kB / 1.278 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.5e-05/0.8326, allocations: 119.9 kB / 1.278 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.598e-05/0.8327, allocations: 51.53 kB / 1.278 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.244e-05/0.8327, allocations: 37.7 kB / 1.278 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.8329, allocations: 326.8 kB / 1.278 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.8331, allocations: 75.91 kB / 1.278 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.8333, allocations: 95.72 kB / 1.278 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003724/0.8337, allocations: 151.4 kB / 1.278 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.8337, allocations: 0 / 1.278 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004956/0.8342, allocations: 213.5 kB / 1.279 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.8342, allocations: 4 kB / 1.279 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.8342, allocations: 3.984 kB / 1.279 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.8342, allocations: 4 kB / 1.279 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/0.8344, allocations: 39.95 kB / 1.279 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.8345, allocations: 3.984 kB / 1.279 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/0.8346, allocations: 23.88 kB / 1.279 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.8347, allocations: 4 kB / 1.279 GB, free: 10.58 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001199/0.8348, allocations: 134.2 kB / 1.279 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.948e-05/0.8348, allocations: 15.91 kB / 1.279 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005038/0.8353, allocations: 195.8 kB / 1.279 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.8353, allocations: 0 / 1.279 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.8353, allocations: 0 / 1.279 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.8353, allocations: 0 / 1.279 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/0.8368, allocations: 0.9856 MB / 1.28 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.8368, allocations: 7.984 kB / 1.28 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001922/0.837, allocations: 27.92 kB / 1.28 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.837, allocations: 0 / 1.28 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.837, allocations: 8.062 kB / 1.28 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.837, allocations: 3.984 kB / 1.28 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.837, allocations: 4 kB / 1.28 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005034/0.8376, allocations: 289.9 kB / 1.28 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.71e-05/0.8376, allocations: 96.95 kB / 1.28 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.8376, allocations: 8 kB / 1.28 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.8379, allocations: 11.98 kB / 1.28 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.8379, allocations: 19.92 kB / 1.28 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.8379, allocations: 7.984 kB / 1.28 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.01e-05/0.838, allocations: 117.9 kB / 1.281 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.838, allocations: 0 / 1.281 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004353/0.8384, allocations: 131.6 kB / 1.281 GB, free: 8.32 MB / 0.9825 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001102/0.8395, allocations: 0.9505 MB / 1.282 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004575/0.84, allocations: 165.2 kB / 1.282 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.84, allocations: 4 kB / 1.282 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.8402, allocations: 75.89 kB / 1.282 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.8406, allocations: 36.11 kB / 1.282 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002749/0.8434, allocations: 2.071 MB / 1.284 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.8437, allocations: 0.7086 MB / 1.285 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001351/0.8438, allocations: 29.16 kB / 1.285 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.548e-05/0.8439, allocations: 47.42 kB / 1.285 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.8439, allocations: 0 / 1.285 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03284/0.8768, allocations: 6.096 MB / 1.291 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.274/9.151, allocations: 3.938 kB / 1.291 GB, free: 14.17 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 14.97761193383485]