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.001222/0.001222, allocations: 116.5 kB / 17.16 MB, free: 5.914 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.001331/0.001331, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.384/1.384, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.847/2.847, allocations: 0.5003 GB / 0.8026 GB, free: 6.738 MB / 0.6387 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",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.001906/0.001906, allocations: 63.91 kB / 1.165 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7958/0.7977, allocations: 178.9 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002828/0.8006, allocations: 2.065 MB / 1.342 GB, free: 14.8 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001922/0.8025, allocations: 1.679 MB / 1.344 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.02e-05/0.8025, allocations: 1.688 kB / 1.344 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.744e-05/0.8026, allocations: 20.03 kB / 1.344 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.124e-05/0.8027, allocations: 48.47 kB / 1.344 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000871/0.8036, allocations: 363.4 kB / 1.344 GB, free: 13.39 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.8038, allocations: 215 kB / 1.344 GB, free: 13.29 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.8039, allocations: 41.84 kB / 1.344 GB, free: 13.26 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.686e-05/0.804, allocations: 82.62 kB / 1.345 GB, free: 13.23 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.8041, allocations: 88.14 kB / 1.345 GB, free: 13.19 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/0.8041, allocations: 18.31 kB / 1.345 GB, free: 13.19 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006875/0.8048, allocations: 415.2 kB / 1.345 GB, free: 13.06 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.666e-05/0.8048, allocations: 41.86 kB / 1.345 GB, free: 13.04 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.395e-05/0.8049, allocations: 90.33 kB / 1.345 GB, free: 12.98 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005447/0.8055, allocations: 422.9 kB / 1.346 GB, free: 12.84 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.8055, allocations: 1.375 kB / 1.346 GB, free: 12.84 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.243e-06/0.8055, allocations: 0 / 1.346 GB, free: 12.84 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.8055, allocations: 0 / 1.346 GB, free: 12.84 MB / 1.061 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.0006892/0.8062, allocations: 0.5208 MB / 1.346 GB, free: 12.38 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.8062, allocations: 14.14 kB / 1.346 GB, free: 12.37 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.35e-05/0.8062, allocations: 4.547 kB / 1.346 GB, free: 12.37 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.65e-05/0.8063, allocations: 47.67 kB / 1.346 GB, free: 12.32 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00314/0.8094, allocations: 328 kB / 1.346 GB, free: 12.29 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.8095, allocations: 182.1 kB / 1.347 GB, free: 12.08 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.516e-05/0.8096, allocations: 49.14 kB / 1.347 GB, free: 12.04 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.638e-05/0.8096, allocations: 14.78 kB / 1.347 GB, free: 12.04 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.8111, allocations: 336.2 kB / 1.347 GB, free: 11.93 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.8111, allocations: 0.75 kB / 1.347 GB, free: 11.93 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.298e-05/0.8111, allocations: 9.547 kB / 1.347 GB, free: 11.92 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.8111, allocations: 3.219 kB / 1.347 GB, free: 11.92 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002385/0.8135, allocations: 417.7 kB / 1.347 GB, free: 11.83 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.8148, allocations: 1.074 MB / 1.348 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003371/0.8182, allocations: 491.1 kB / 1.349 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001203/0.8194, allocations: 190.1 kB / 1.349 GB, free: 10.74 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000121/0.8195, allocations: 89.33 kB / 1.349 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.8195, allocations: 41.2 kB / 1.349 GB, free: 10.6 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.683e-06/0.8195, allocations: 0 / 1.349 GB, free: 10.6 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.003695/0.8232, allocations: 0.5661 MB / 1.35 GB, free: 10.44 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.8233, allocations: 53.58 kB / 1.35 GB, free: 10.38 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.8234, allocations: 161.1 kB / 1.35 GB, free: 10.26 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.8234, allocations: 30.89 kB / 1.35 GB, free: 10.22 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.325e-05/0.8235, allocations: 115.5 kB / 1.35 GB, free: 10.12 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.657e-05/0.8235, allocations: 53.14 kB / 1.35 GB, free: 10.07 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.8236, allocations: 53.91 kB / 1.35 GB, free: 10.04 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.962e-05/0.8237, allocations: 324.8 kB / 1.351 GB, free: 9.719 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/0.8249, allocations: 192.5 kB / 1.351 GB, free: 9.676 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/0.8261, allocations: 212.8 kB / 1.351 GB, free: 9.613 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002178/0.8283, allocations: 345.9 kB / 1.351 GB, free: 9.512 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.8283, allocations: 4 kB / 1.351 GB, free: 9.508 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.002428/0.8307, allocations: 445 kB / 1.352 GB, free: 9.371 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.8307, allocations: 10.31 kB / 1.352 GB, free: 9.367 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.8307, allocations: 1.094 kB / 1.352 GB, free: 9.367 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.8307, allocations: 1.094 kB / 1.352 GB, free: 9.367 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007672/0.8315, allocations: 85.33 kB / 1.352 GB, free: 9.363 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.8315, allocations: 1.062 kB / 1.352 GB, free: 9.363 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006738/0.8322, allocations: 67.58 kB / 1.352 GB, free: 9.348 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.268e-05/0.8322, allocations: 8.328 kB / 1.352 GB, free: 9.348 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.0001244/0.8324, allocations: 129.3 kB / 1.352 GB, free: 9.219 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.472e-05/0.8324, allocations: 14.78 kB / 1.352 GB, free: 9.211 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002634/0.8351, allocations: 453.2 kB / 1.352 GB, free: 9.074 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.8351, allocations: 1.938 kB / 1.352 GB, free: 9.074 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.8351, allocations: 0 / 1.352 GB, free: 9.074 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.8351, allocations: 1.781 kB / 1.352 GB, free: 9.074 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004505/0.8396, allocations: 0.9461 MB / 1.353 GB, free: 8.598 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.8396, allocations: 1.156 kB / 1.353 GB, free: 8.598 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007083/0.8403, allocations: 80.45 kB / 1.353 GB, free: 8.59 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.8403, allocations: 2.531 kB / 1.353 GB, free: 8.59 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.981e-05/0.8403, allocations: 9.75 kB / 1.353 GB, free: 8.586 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.8403, allocations: 1.797 kB / 1.353 GB, free: 8.586 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.8403, allocations: 5.156 kB / 1.353 GB, free: 8.582 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002371/0.8427, allocations: 491.4 kB / 1.354 GB, free: 8.355 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.362e-05/0.8427, allocations: 89.53 kB / 1.354 GB, free: 8.254 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.506e-05/0.8428, allocations: 7.625 kB / 1.354 GB, free: 8.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006864/0.8435, allocations: 62.66 kB / 1.354 GB, free: 8.238 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.8435, allocations: 21.05 kB / 1.354 GB, free: 8.227 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-05/0.8435, allocations: 8.312 kB / 1.354 GB, free: 8.227 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.146e-05/0.8436, allocations: 119.7 kB / 1.354 GB, free: 8.141 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8436, allocations: 0 / 1.354 GB, free: 8.141 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000579/0.8442, allocations: 127.2 kB / 1.354 GB, free: 8.109 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.002953/0.8471, allocations: 1.138 MB / 1.355 GB, free: 7.312 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002518/0.8497, allocations: 390.3 kB / 1.356 GB, free: 7.23 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.8497, allocations: 1.031 kB / 1.356 GB, free: 7.23 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001198/0.8509, allocations: 186.3 kB / 1.356 GB, free: 7.191 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004515/0.8513, allocations: 55.22 kB / 1.356 GB, free: 7.164 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009023/0.8603, allocations: 2.79 MB / 1.359 GB, free: 5.477 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.8605, allocations: 0.7103 MB / 1.359 GB, free: 4.777 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003159/0.8608, allocations: 54.23 kB / 1.36 GB, free: 4.75 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002071/0.861, allocations: 55.75 kB / 1.36 GB, free: 4.723 MB / 1.061 GB Notification: Performance of SimCode: time 9.12e-07/0.861, allocations: 0 / 1.36 GB, free: 4.723 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02672/0.8877, allocations: 7.639 MB / 1.367 GB, free: 3.945 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.257/9.145, allocations: 8.797 kB / 1.367 GB, free: 3.941 MB / 1.061 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=800 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.25001754600089]