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.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.001757/0.001757, allocations: 79.11 kB / 19.76 MB, free: 2.035 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.002089/0.002089, allocations: 157.1 kB / 23.01 MB, free: 4.941 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.511/1.511, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.723/2.723, allocations: 359.1 MB / 0.6044 GB, free: 14.84 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002247/0.002247, allocations: 67.89 kB / 0.9515 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3055, allocations: 169.9 MB / 1.117 GB, free: 2.527 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003509/0.309, allocations: 1.989 MB / 1.119 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002583/0.3116, allocations: 1.526 MB / 1.121 GB, free: 14.99 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.112e-05/0.3117, allocations: 4 kB / 1.121 GB, free: 14.99 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 6.567e-05/0.3118, allocations: 19.78 kB / 1.121 GB, free: 14.97 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.3119, allocations: 51.55 kB / 1.121 GB, free: 14.92 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.313, allocations: 361.6 kB / 1.121 GB, free: 14.57 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000269/0.3133, allocations: 223 kB / 1.122 GB, free: 14.35 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.3134, allocations: 29.67 kB / 1.122 GB, free: 14.32 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.3135, allocations: 87.81 kB / 1.122 GB, free: 14.23 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.3137, allocations: 71.69 kB / 1.122 GB, free: 14.16 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.54e-05/0.3137, allocations: 16 kB / 1.122 GB, free: 14.14 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008414/0.3146, allocations: 415.5 kB / 1.122 GB, free: 13.74 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.511e-05/0.3146, allocations: 39.91 kB / 1.122 GB, free: 13.7 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.3147, allocations: 79.7 kB / 1.122 GB, free: 13.62 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0007025/0.3154, allocations: 430.7 kB / 1.123 GB, free: 13.2 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3154, allocations: 4 kB / 1.123 GB, free: 13.2 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3154, allocations: 0 / 1.123 GB, free: 13.2 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.3154, allocations: 0 / 1.123 GB, free: 13.2 MB / 1.076 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.0008937/0.3163, allocations: 465.1 kB / 1.123 GB, free: 12.71 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.3164, allocations: 8.031 kB / 1.123 GB, free: 12.7 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005914/0.3169, allocations: 92.73 kB / 1.123 GB, free: 12.61 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.3171, allocations: 130.2 kB / 1.123 GB, free: 12.46 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.891e-05/0.3172, allocations: 71.95 kB / 1.123 GB, free: 12.38 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.657e-05/0.3172, allocations: 20.38 kB / 1.123 GB, free: 12.36 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004782/0.3177, allocations: 241.4 kB / 1.124 GB, free: 12.1 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3177, allocations: 3.938 kB / 1.124 GB, free: 12.1 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.3177, allocations: 4 kB / 1.124 GB, free: 12.09 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3177, allocations: 4 kB / 1.124 GB, free: 12.09 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003282/0.3181, allocations: 127.9 kB / 1.124 GB, free: 11.96 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.3194, allocations: 0.5991 MB / 1.124 GB, free: 11.34 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002119/0.3215, allocations: 326.2 kB / 1.125 GB, free: 11.01 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.3217, allocations: 80.81 kB / 1.125 GB, free: 10.93 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004648/0.3222, allocations: 71.86 kB / 1.125 GB, free: 10.86 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.3222, allocations: 38.56 kB / 1.125 GB, free: 10.81 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.3222, allocations: 0 / 1.125 GB, free: 10.81 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.001704/0.3239, allocations: 384.9 kB / 1.125 GB, free: 10.43 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.324, allocations: 55.41 kB / 1.125 GB, free: 10.36 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.3241, allocations: 130.8 kB / 1.125 GB, free: 10.22 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.504e-05/0.3241, allocations: 33.7 kB / 1.125 GB, free: 10.18 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.112e-05/0.3242, allocations: 120.3 kB / 1.126 GB, free: 10.06 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.994e-05/0.3242, allocations: 55.58 kB / 1.126 GB, free: 10.01 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.038e-05/0.3243, allocations: 37.66 kB / 1.126 GB, free: 9.965 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.3245, allocations: 322.8 kB / 1.126 GB, free: 9.641 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/0.3247, allocations: 83.91 kB / 1.126 GB, free: 9.559 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.3249, allocations: 83.95 kB / 1.126 GB, free: 9.477 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004242/0.3253, allocations: 158.6 kB / 1.126 GB, free: 9.32 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-06/0.3253, allocations: 0 / 1.126 GB, free: 9.32 MB / 1.076 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000937/0.3263, allocations: 284.7 kB / 1.126 GB, free: 9.035 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.3263, allocations: 8 kB / 1.126 GB, free: 9.027 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.3263, allocations: 7.922 kB / 1.127 GB, free: 9.02 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000565/0.3269, allocations: 118.6 kB / 1.127 GB, free: 8.902 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/0.3282, allocations: 104 kB / 1.127 GB, free: 8.801 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009107/0.3291, allocations: 0.6381 MB / 1.127 GB, free: 8.137 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.3293, allocations: 15.92 kB / 1.127 GB, free: 8.121 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.3293, allocations: 12 kB / 1.127 GB, free: 8.109 MB / 1.076 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.0001248/0.3294, allocations: 117.8 kB / 1.127 GB, free: 7.984 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.52e-05/0.3295, allocations: 11.95 kB / 1.127 GB, free: 7.973 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009101/0.3304, allocations: 295.4 kB / 1.128 GB, free: 7.672 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.3304, allocations: 0 / 1.128 GB, free: 7.672 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3304, allocations: 0 / 1.128 GB, free: 7.672 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3304, allocations: 0 / 1.128 GB, free: 7.672 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001847/0.3322, allocations: 0.6448 MB / 1.128 GB, free: 6.98 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3322, allocations: 7.875 kB / 1.128 GB, free: 6.973 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/0.3335, allocations: 104 kB / 1.129 GB, free: 6.871 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005065/0.3341, allocations: 124.7 kB / 1.129 GB, free: 6.746 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.3341, allocations: 8 kB / 1.129 GB, free: 6.738 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008808/0.335, allocations: 0.6303 MB / 1.129 GB, free: 6.082 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.335, allocations: 7.938 kB / 1.129 GB, free: 6.074 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009567/0.3359, allocations: 346 kB / 1.13 GB, free: 5.711 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.361e-05/0.3359, allocations: 19.81 kB / 1.13 GB, free: 5.691 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.336, allocations: 8 kB / 1.13 GB, free: 5.684 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.3362, allocations: 11.98 kB / 1.13 GB, free: 5.672 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/0.3362, allocations: 19.91 kB / 1.13 GB, free: 5.652 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.3363, allocations: 4.281 kB / 1.13 GB, free: 5.648 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.245e-05/0.3363, allocations: 101 kB / 1.13 GB, free: 5.551 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3363, allocations: 0 / 1.13 GB, free: 5.551 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004782/0.3368, allocations: 135.5 kB / 1.13 GB, free: 5.418 MB / 1.076 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.0004446/0.3373, allocations: 230.8 kB / 1.13 GB, free: 5.184 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000946/0.3382, allocations: 227 kB / 1.13 GB, free: 4.965 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3382, allocations: 0 / 1.13 GB, free: 4.965 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006366/0.3388, allocations: 127.9 kB / 1.13 GB, free: 4.84 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.3392, allocations: 42.14 kB / 1.13 GB, free: 4.801 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007863/0.34, allocations: 338.7 kB / 1.131 GB, free: 4.441 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.564e-05/0.3401, allocations: 91.03 kB / 1.131 GB, free: 4.332 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.371e-05/0.3402, allocations: 24.77 kB / 1.131 GB, free: 4.312 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.033e-05/0.3403, allocations: 16.5 kB / 1.131 GB, free: 4.297 MB / 1.076 GB Notification: Performance of SimCode: time 3.2e-07/0.3403, allocations: 0 / 1.131 GB, free: 4.297 MB / 1.076 GB Notification: Performance of Templates: time 0.5171/0.8573, allocations: 4.468 MB / 1.135 GB, free: 58.69 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 400] 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/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: 8.672562538995408]