Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001781/0.001781, allocations: 108.2 kB / 16.46 MB, free: 6.453 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.002093/0.002093, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.52/1.52, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.234/3.234, allocations: 0.505 GB / 0.8066 GB, free: 23.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",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.002147/0.002147, allocations: 72.14 kB / 1.172 GB, free: 17.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3206, allocations: 180.2 MB / 1.348 GB, free: 9.977 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003578/0.3242, allocations: 2.054 MB / 1.35 GB, free: 7.914 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002612/0.3268, allocations: 1.69 MB / 1.351 GB, free: 6.219 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.743e-05/0.3268, allocations: 0 / 1.351 GB, free: 6.219 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 6.992e-05/0.3269, allocations: 19.8 kB / 1.351 GB, free: 6.199 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.327, allocations: 47.55 kB / 1.351 GB, free: 6.152 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.3281, allocations: 358.8 kB / 1.352 GB, free: 5.801 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000257/0.3284, allocations: 219.1 kB / 1.352 GB, free: 5.586 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.3285, allocations: 37.77 kB / 1.352 GB, free: 5.543 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.3286, allocations: 83.7 kB / 1.352 GB, free: 5.461 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.3288, allocations: 87.73 kB / 1.352 GB, free: 5.375 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.3288, allocations: 16 kB / 1.352 GB, free: 5.359 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008021/0.3296, allocations: 415.5 kB / 1.353 GB, free: 4.953 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.282e-05/0.3296, allocations: 43.84 kB / 1.353 GB, free: 4.91 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.521e-05/0.3297, allocations: 87.64 kB / 1.353 GB, free: 4.824 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006271/0.3304, allocations: 434.6 kB / 1.353 GB, free: 4.398 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3304, allocations: 0 / 1.353 GB, free: 4.398 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3304, allocations: 0 / 1.353 GB, free: 4.398 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.3304, allocations: 0 / 1.353 GB, free: 4.398 MB / 1.045 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.0008758/0.3312, allocations: 0.5218 MB / 1.354 GB, free: 3.824 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.3313, allocations: 15.97 kB / 1.354 GB, free: 3.809 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.87e-05/0.3313, allocations: 46.75 kB / 1.354 GB, free: 3.754 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003226/0.3346, allocations: 328.4 kB / 1.354 GB, free: 3.434 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.3348, allocations: 180.2 kB / 1.354 GB, free: 3.219 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.633e-05/0.3349, allocations: 42.27 kB / 1.354 GB, free: 3.172 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.162e-05/0.3349, allocations: 20.36 kB / 1.354 GB, free: 3.152 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/0.3364, allocations: 337.4 kB / 1.355 GB, free: 2.816 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.3364, allocations: 0 / 1.355 GB, free: 2.816 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.374e-05/0.3365, allocations: 8 kB / 1.355 GB, free: 2.809 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.3365, allocations: 4 kB / 1.355 GB, free: 2.805 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002531/0.339, allocations: 415.6 kB / 1.355 GB, free: 2.398 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001736/0.3408, allocations: 1.053 MB / 1.356 GB, free: 1.219 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00355/0.3443, allocations: 0.4903 MB / 1.357 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001318/0.3456, allocations: 192.7 kB / 1.357 GB, free: 0.5273 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001892/0.3458, allocations: 93.03 kB / 1.357 GB, free: 428 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/0.3459, allocations: 38.56 kB / 1.357 GB, free: 380 kB / 1.045 GB Notification: Performance of pre-optimization done (n=14): time 2.515e-06/0.3459, allocations: 0 / 1.357 GB, free: 380 kB / 1.045 GB Notification: Performance of matching and sorting (n=14): time 0.003851/0.3497, allocations: 0.5716 MB / 1.357 GB, free: 15.79 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.3498, allocations: 51.41 kB / 1.357 GB, free: 15.73 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.3499, allocations: 165.5 kB / 1.358 GB, free: 15.56 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.046e-05/0.35, allocations: 25.7 kB / 1.358 GB, free: 15.53 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.496e-05/0.3501, allocations: 123.9 kB / 1.358 GB, free: 15.41 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.91e-05/0.3501, allocations: 39.64 kB / 1.358 GB, free: 15.37 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.3502, allocations: 49.64 kB / 1.358 GB, free: 15.31 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3504, allocations: 326.8 kB / 1.358 GB, free: 14.98 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001255/0.3516, allocations: 195.8 kB / 1.358 GB, free: 14.79 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/0.3529, allocations: 209.5 kB / 1.359 GB, free: 14.58 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002298/0.3552, allocations: 346.8 kB / 1.359 GB, free: 14.24 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.3552, allocations: 0 / 1.359 GB, free: 14.24 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.002556/0.3578, allocations: 442.4 kB / 1.359 GB, free: 13.8 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3578, allocations: 4 kB / 1.359 GB, free: 13.8 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.3578, allocations: 0 / 1.359 GB, free: 13.8 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.3578, allocations: 4 kB / 1.359 GB, free: 13.79 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008085/0.3586, allocations: 95.83 kB / 1.359 GB, free: 13.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.3586, allocations: 0 / 1.359 GB, free: 13.7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006944/0.3593, allocations: 63.81 kB / 1.359 GB, free: 13.64 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/0.3593, allocations: 11.98 kB / 1.359 GB, free: 13.62 MB / 1.061 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.0001623/0.3595, allocations: 133.7 kB / 1.36 GB, free: 13.48 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.934e-05/0.3596, allocations: 15.91 kB / 1.36 GB, free: 13.47 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002657/0.3622, allocations: 456.3 kB / 1.36 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.3622, allocations: 7.984 kB / 1.36 GB, free: 13.01 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.3622, allocations: 0 / 1.36 GB, free: 13.01 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.3622, allocations: 0 / 1.36 GB, free: 13.01 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004769/0.367, allocations: 0.9368 MB / 1.361 GB, free: 12.01 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.367, allocations: 0 / 1.361 GB, free: 12.01 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007578/0.3678, allocations: 83.86 kB / 1.361 GB, free: 11.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.3678, allocations: 0 / 1.361 GB, free: 11.93 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.145e-05/0.3678, allocations: 11.98 kB / 1.361 GB, free: 11.92 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.3678, allocations: 4 kB / 1.361 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.3678, allocations: 0 / 1.361 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002637/0.3705, allocations: 492.8 kB / 1.362 GB, free: 11.41 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.345e-05/0.3705, allocations: 89.02 kB / 1.362 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.257e-05/0.3706, allocations: 8 kB / 1.362 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007331/0.3713, allocations: 51.92 kB / 1.362 GB, free: 11.25 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.3714, allocations: 15.92 kB / 1.362 GB, free: 11.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-05/0.3714, allocations: 11.98 kB / 1.362 GB, free: 11.22 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001242/0.3715, allocations: 128.4 kB / 1.362 GB, free: 11.09 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3715, allocations: 0 / 1.362 GB, free: 11.09 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005356/0.3721, allocations: 127.5 kB / 1.362 GB, free: 10.97 MB / 1.061 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.003409/0.3755, allocations: 1.141 MB / 1.363 GB, free: 9.797 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0027/0.3782, allocations: 391.6 kB / 1.363 GB, free: 9.414 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3782, allocations: 0 / 1.363 GB, free: 9.414 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0013/0.3795, allocations: 187.8 kB / 1.364 GB, free: 9.23 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004876/0.38, allocations: 55.64 kB / 1.364 GB, free: 9.18 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/0.3901, allocations: 2.787 MB / 1.366 GB, free: 6.289 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.3905, allocations: 0.7047 MB / 1.367 GB, free: 5.559 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003362/0.3908, allocations: 59.8 kB / 1.367 GB, free: 5.504 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002196/0.3911, allocations: 51.39 kB / 1.367 GB, free: 5.453 MB / 1.061 GB Notification: Performance of SimCode: time 1.122e-06/0.3911, allocations: 4 kB / 1.367 GB, free: 5.449 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03335/0.4244, allocations: 7.591 MB / 1.375 GB, free: 14.04 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.338/8.762, allocations: 7.688 kB / 1.375 GB, free: 14.03 MB / 1.076 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv --start-time 0 --stop-time 100 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable com.pDis in file Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv. Warning: Get data of variable com.pDis from file Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv failed! Error: Could not read variable com.pSuc in file Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv. Warning: Get data of variable com.pSuc from file Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv failed! Error: Could not read variable heaFloEva.Q_flow in file Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv. Warning: Get data of variable heaFloEva.Q_flow from file Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv failed! Error: Could not read variable heaFloCon.Q_flow in file Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv. Warning: Get data of variable heaFloCon.Q_flow from file Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.494634568924084]