Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001401/0.001401, allocations: 113.4 kB / 17.13 MB, free: 5.914 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.001394/0.001394, allocations: 192.6 kB / 20.08 MB, free: 2.98 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.474/1.474, allocations: 225.6 MB / 248.5 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.586/2.586, allocations: 443.5 MB / 0.7293 GB, free: 14.54 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 63.89 kB / 1.057 GB, free: 1.988 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3405, allocations: 160.7 MB / 1.214 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003851/0.3444, allocations: 2.042 MB / 1.216 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002872/0.3472, allocations: 1.663 MB / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.3474, allocations: 4 kB / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.298e-05/0.3474, allocations: 23.78 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.3476, allocations: 47.55 kB / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.3489, allocations: 354.8 kB / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003394/0.3493, allocations: 227.1 kB / 1.218 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.3494, allocations: 33.48 kB / 1.218 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.3496, allocations: 79.77 kB / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.3498, allocations: 91.67 kB / 1.219 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.268e-05/0.3499, allocations: 16 kB / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.3509, allocations: 419.5 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.012e-05/0.3509, allocations: 43.89 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.351, allocations: 87.66 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0008536/0.3519, allocations: 426.6 kB / 1.219 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3519, allocations: 4 kB / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3519, allocations: 0 / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.3519, allocations: 0 / 1.219 GB, free: 11.39 MB / 0.9669 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.001037/0.3529, allocations: 0.5218 MB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.353, allocations: 12.03 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006223/0.3536, allocations: 88.78 kB / 1.22 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.3538, allocations: 184.1 kB / 1.22 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.393e-05/0.3539, allocations: 42.27 kB / 1.22 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.833e-05/0.3539, allocations: 20.38 kB / 1.22 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004836/0.3544, allocations: 194.8 kB / 1.22 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.3544, allocations: 3.938 kB / 1.22 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/0.3544, allocations: 4 kB / 1.22 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.3544, allocations: 4 kB / 1.22 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004807/0.3549, allocations: 179.8 kB / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.3565, allocations: 0.919 MB / 1.222 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005417/0.3571, allocations: 162.5 kB / 1.222 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.3573, allocations: 72.81 kB / 1.222 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007285/0.358, allocations: 0.5181 MB / 1.222 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/0.3581, allocations: 38.56 kB / 1.222 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.3581, allocations: 0 / 1.222 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14): time 0.0007835/0.3588, allocations: 237.7 kB / 1.223 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.3589, allocations: 51.41 kB / 1.223 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.3591, allocations: 166.1 kB / 1.223 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.3591, allocations: 25.7 kB / 1.223 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.3592, allocations: 135.6 kB / 1.223 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.876e-05/0.3593, allocations: 43.64 kB / 1.223 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.505e-05/0.3593, allocations: 37.66 kB / 1.223 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.3595, allocations: 326.8 kB / 1.223 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.3597, allocations: 71.95 kB / 1.223 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000253/0.36, allocations: 95.73 kB / 1.223 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004028/0.3604, allocations: 151.5 kB / 1.224 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.3604, allocations: 3.938 kB / 1.224 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005433/0.3609, allocations: 209.5 kB / 1.224 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.3609, allocations: 12.03 kB / 1.224 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.3609, allocations: 0 / 1.224 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.361, allocations: 0 / 1.224 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/0.3612, allocations: 43.91 kB / 1.224 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.3612, allocations: 0 / 1.224 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.3614, allocations: 23.88 kB / 1.224 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.3614, allocations: 11.94 kB / 1.224 GB, free: 6.418 MB / 0.9669 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.0001428/0.3616, allocations: 125.7 kB / 1.224 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.346e-05/0.3616, allocations: 19.91 kB / 1.224 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005571/0.3622, allocations: 193.5 kB / 1.224 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.3622, allocations: 4 kB / 1.224 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3622, allocations: 0 / 1.224 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.3622, allocations: 0 / 1.224 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001627/0.3638, allocations: 0.9856 MB / 1.225 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.3638, allocations: 8.047 kB / 1.225 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002026/0.364, allocations: 27.92 kB / 1.225 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.364, allocations: 4 kB / 1.225 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.3641, allocations: 11.98 kB / 1.225 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.3641, allocations: 4 kB / 1.225 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3641, allocations: 0 / 1.225 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005395/0.3646, allocations: 293 kB / 1.226 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.113e-05/0.3647, allocations: 89.02 kB / 1.226 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.441e-05/0.3647, allocations: 8 kB / 1.226 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.365, allocations: 15.97 kB / 1.226 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.365, allocations: 15.92 kB / 1.226 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.365, allocations: 8 kB / 1.226 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001123/0.3651, allocations: 121.5 kB / 1.226 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3651, allocations: 0 / 1.226 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005013/0.3656, allocations: 127.5 kB / 1.226 GB, free: 4.172 MB / 0.9669 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.0005403/0.3662, allocations: 230.8 kB / 1.226 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005474/0.3667, allocations: 163.7 kB / 1.226 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3667, allocations: 0 / 1.226 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002118/0.3669, allocations: 84.08 kB / 1.226 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/0.3674, allocations: 31.97 kB / 1.226 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00082/0.3682, allocations: 362 kB / 1.227 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.3685, allocations: 0.7047 MB / 1.227 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.3686, allocations: 23.42 kB / 1.227 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of SimCode: time 6.41e-07/0.3686, allocations: 8 kB / 1.227 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of Templates: time 0.007697/0.3763, allocations: 3.881 MB / 1.231 GB, free: 14.66 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.051915456075221]