Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001728/0.001728, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.002195/0.002195, allocations: 220 kB / 23.04 MB, free: 4.844 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.124/3.124, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: 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_12_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_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") [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.001955/0.001955, allocations: 66.81 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3618, allocations: 176.1 MB / 1.327 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003617/0.3654, allocations: 1.981 MB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002735/0.3682, allocations: 1.53 MB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.177e-05/0.3682, allocations: 0 / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.035e-05/0.3683, allocations: 15.86 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.3684, allocations: 51.55 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.3696, allocations: 366.8 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002652/0.3698, allocations: 215.1 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.37, allocations: 45.58 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.3701, allocations: 75.84 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.3702, allocations: 79.67 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.367e-05/0.3703, allocations: 23.94 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007803/0.3711, allocations: 407.5 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.586e-05/0.3711, allocations: 43.83 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.042e-05/0.3712, allocations: 71.78 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006359/0.3718, allocations: 434.6 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3718, allocations: 0 / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3718, allocations: 0 / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.3718, allocations: 0 / 1.332 GB, free: 11.61 MB / 1.029 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.0008739/0.3727, allocations: 458.4 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.3728, allocations: 8.031 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005778/0.3733, allocations: 92.73 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.3735, allocations: 130.2 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.3736, allocations: 75.97 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.177e-05/0.3736, allocations: 16.31 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00049/0.3741, allocations: 241.4 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.3741, allocations: 7.875 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/0.3742, allocations: 16 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.3742, allocations: 7.984 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003176/0.3745, allocations: 123.9 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.3759, allocations: 0.5989 MB / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002043/0.3779, allocations: 326.2 kB / 1.334 GB, free: 9.414 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/0.3781, allocations: 76.81 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004543/0.3786, allocations: 76.14 kB / 1.335 GB, free: 9.262 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.3786, allocations: 34.56 kB / 1.335 GB, free: 9.219 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 2.354e-06/0.3786, allocations: 0 / 1.335 GB, free: 9.219 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.001692/0.3803, allocations: 382.9 kB / 1.335 GB, free: 8.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.3804, allocations: 59.39 kB / 1.335 GB, free: 8.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.3805, allocations: 127.1 kB / 1.335 GB, free: 8.637 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.3805, allocations: 29.7 kB / 1.335 GB, free: 8.602 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.608e-05/0.3806, allocations: 120.3 kB / 1.335 GB, free: 8.48 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.281e-05/0.3807, allocations: 55.53 kB / 1.335 GB, free: 8.426 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.673e-05/0.3808, allocations: 41.7 kB / 1.335 GB, free: 8.379 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3809, allocations: 318.8 kB / 1.336 GB, free: 8.059 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.3812, allocations: 83.91 kB / 1.336 GB, free: 7.977 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.3814, allocations: 83.95 kB / 1.336 GB, free: 7.895 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004171/0.3818, allocations: 154.3 kB / 1.336 GB, free: 7.742 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3818, allocations: 4 kB / 1.336 GB, free: 7.738 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008995/0.3827, allocations: 288.5 kB / 1.336 GB, free: 7.449 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3827, allocations: 4 kB / 1.336 GB, free: 7.445 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.3827, allocations: 4 kB / 1.336 GB, free: 7.441 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005914/0.3833, allocations: 128.6 kB / 1.336 GB, free: 7.316 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.3845, allocations: 103.9 kB / 1.336 GB, free: 7.215 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009214/0.3854, allocations: 0.6342 MB / 1.337 GB, free: 6.555 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/0.3856, allocations: 23.92 kB / 1.337 GB, free: 6.531 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.3857, allocations: 4 kB / 1.337 GB, free: 6.527 MB / 1.029 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.00015/0.3858, allocations: 134.3 kB / 1.337 GB, free: 6.387 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.71e-05/0.3859, allocations: 11.94 kB / 1.337 GB, free: 6.375 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009257/0.3868, allocations: 270.7 kB / 1.337 GB, free: 6.098 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.3868, allocations: 4 kB / 1.337 GB, free: 6.094 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.3868, allocations: 7.938 kB / 1.337 GB, free: 6.086 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.3868, allocations: 3.938 kB / 1.337 GB, free: 6.082 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001816/0.3886, allocations: 0.6509 MB / 1.338 GB, free: 5.387 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.3886, allocations: 4.125 kB / 1.338 GB, free: 5.383 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/0.3898, allocations: 92.03 kB / 1.338 GB, free: 5.293 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000537/0.3904, allocations: 128.7 kB / 1.338 GB, free: 5.164 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.3904, allocations: 3.938 kB / 1.338 GB, free: 5.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009084/0.3913, allocations: 0.6342 MB / 1.339 GB, free: 4.5 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.3913, allocations: 0 / 1.339 GB, free: 4.5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009706/0.3923, allocations: 365.8 kB / 1.339 GB, free: 4.117 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.038e-05/0.3923, allocations: 15.83 kB / 1.339 GB, free: 4.102 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/0.3923, allocations: 4 kB / 1.339 GB, free: 4.098 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.3925, allocations: 15.98 kB / 1.339 GB, free: 4.082 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.3926, allocations: 11.97 kB / 1.339 GB, free: 4.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.3926, allocations: 8 kB / 1.339 GB, free: 4.062 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.603e-05/0.3927, allocations: 100.9 kB / 1.339 GB, free: 3.965 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3927, allocations: 0 / 1.339 GB, free: 3.965 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005193/0.3932, allocations: 135.6 kB / 1.34 GB, free: 3.832 MB / 1.029 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.0004939/0.3937, allocations: 243.7 kB / 1.34 GB, free: 3.586 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009273/0.3946, allocations: 205.7 kB / 1.34 GB, free: 3.387 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3946, allocations: 3.938 kB / 1.34 GB, free: 3.383 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005879/0.3952, allocations: 132 kB / 1.34 GB, free: 3.254 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.3956, allocations: 31.92 kB / 1.34 GB, free: 3.223 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000831/0.3964, allocations: 362.6 kB / 1.341 GB, free: 2.832 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.812e-05/0.3965, allocations: 94.78 kB / 1.341 GB, free: 2.715 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.802e-05/0.3966, allocations: 19.42 kB / 1.341 GB, free: 2.695 MB / 1.029 GB Notification: Performance of SimCode: time 9.91e-07/0.3966, allocations: 0 / 1.341 GB, free: 2.695 MB / 1.029 GB Notification: Performance of Templates: time 0.007487/0.4041, allocations: 4.206 MB / 1.345 GB, free: 14.51 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.88821228290908]