Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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.001249/0.001249, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001355/0.001355, allocations: 214 kB / 23.01 MB, free: 4.566 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.349/1.349, allocations: 230.6 MB / 256.8 MB, free: 8.031 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 2.915/2.915, allocations: 0.49 GB / 0.7958 GB, free: 33.38 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_ZeroInput,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_ZeroInput") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,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_ZeroInput") [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.001964/0.001964, allocations: 75.02 kB / 1.155 GB, free: 25.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3117, allocations: 176.1 MB / 1.327 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003236/0.3149, allocations: 2.076 MB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002452/0.3173, allocations: 1.698 MB / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.53e-05/0.3174, allocations: 0 / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.672e-05/0.3175, allocations: 15.86 kB / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.362e-05/0.3176, allocations: 51.48 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000963/0.3185, allocations: 366.8 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002469/0.3188, allocations: 215.2 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.3189, allocations: 41.58 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.319, allocations: 87.72 kB / 1.332 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.3192, allocations: 87.67 kB / 1.332 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.994e-05/0.3192, allocations: 20 kB / 1.332 GB, free: 12.78 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007827/0.32, allocations: 423.5 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.767e-05/0.32, allocations: 43.89 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.366e-05/0.3201, allocations: 91.66 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005748/0.3207, allocations: 430.7 kB / 1.333 GB, free: 11.81 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3207, allocations: 0 / 1.333 GB, free: 11.81 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3207, allocations: 0 / 1.333 GB, free: 11.81 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.3207, allocations: 0 / 1.333 GB, free: 11.81 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.000784/0.3215, allocations: 457.2 kB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.3215, allocations: 12.03 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000538/0.322, allocations: 88.73 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.3222, allocations: 122.3 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.852e-05/0.3223, allocations: 83.95 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.3223, allocations: 12.38 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004006/0.3227, allocations: 193.9 kB / 1.334 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.3227, allocations: 3.938 kB / 1.334 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.3227, allocations: 8 kB / 1.334 GB, free: 10.78 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.3227, allocations: 4 kB / 1.334 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002873/0.323, allocations: 127.9 kB / 1.334 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.3244, allocations: 0.6841 MB / 1.334 GB, free: 9.918 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001875/0.3262, allocations: 330.1 kB / 1.335 GB, free: 9.586 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.3264, allocations: 80.77 kB / 1.335 GB, free: 9.504 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004366/0.3269, allocations: 71.91 kB / 1.335 GB, free: 9.434 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.3269, allocations: 34.56 kB / 1.335 GB, free: 9.391 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/0.3269, allocations: 0 / 1.335 GB, free: 9.391 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.001539/0.3284, allocations: 390.9 kB / 1.335 GB, free: 9.004 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.3285, allocations: 51.41 kB / 1.335 GB, free: 8.941 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.3286, allocations: 161.7 kB / 1.335 GB, free: 8.777 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.3286, allocations: 33.7 kB / 1.335 GB, free: 8.738 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.127e-05/0.3287, allocations: 119.9 kB / 1.336 GB, free: 8.617 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.995e-05/0.3288, allocations: 55.52 kB / 1.336 GB, free: 8.562 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.277e-05/0.3288, allocations: 37.7 kB / 1.336 GB, free: 8.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.329, allocations: 326.8 kB / 1.336 GB, free: 8.191 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.3292, allocations: 79.95 kB / 1.336 GB, free: 8.113 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001974/0.3294, allocations: 85.97 kB / 1.336 GB, free: 8.031 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003858/0.3297, allocations: 166.3 kB / 1.336 GB, free: 7.867 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3298, allocations: 0 / 1.336 GB, free: 7.867 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008353/0.3306, allocations: 286.3 kB / 1.337 GB, free: 7.578 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.3306, allocations: 6.031 kB / 1.337 GB, free: 7.574 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3306, allocations: 0 / 1.337 GB, free: 7.574 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005174/0.3311, allocations: 124.1 kB / 1.337 GB, free: 7.453 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/0.3322, allocations: 111.9 kB / 1.337 GB, free: 7.344 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008/0.333, allocations: 0.6342 MB / 1.337 GB, free: 6.684 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.3332, allocations: 19.92 kB / 1.337 GB, free: 6.664 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.3332, allocations: 8 kB / 1.337 GB, free: 6.656 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.0001219/0.3333, allocations: 122.3 kB / 1.338 GB, free: 6.527 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.503e-05/0.3334, allocations: 19.84 kB / 1.338 GB, free: 6.508 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008303/0.3342, allocations: 286.5 kB / 1.338 GB, free: 6.215 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.3342, allocations: 4 kB / 1.338 GB, free: 6.211 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3342, allocations: 0 / 1.338 GB, free: 6.211 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3342, allocations: 4 kB / 1.338 GB, free: 6.207 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/0.3359, allocations: 0.695 MB / 1.339 GB, free: 5.453 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3359, allocations: 7.938 kB / 1.339 GB, free: 5.445 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.337, allocations: 92.03 kB / 1.339 GB, free: 5.355 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004725/0.3374, allocations: 131.3 kB / 1.339 GB, free: 5.227 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.3375, allocations: 0 / 1.339 GB, free: 5.227 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007916/0.3383, allocations: 0.6342 MB / 1.339 GB, free: 4.566 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3383, allocations: 0 / 1.339 GB, free: 4.566 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008438/0.3391, allocations: 372.7 kB / 1.34 GB, free: 4.18 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.895e-05/0.3391, allocations: 16.19 kB / 1.34 GB, free: 4.164 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.42e-05/0.3392, allocations: 4 kB / 1.34 GB, free: 4.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.3394, allocations: 11.98 kB / 1.34 GB, free: 4.148 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.3394, allocations: 19.95 kB / 1.34 GB, free: 4.129 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.3394, allocations: 7.938 kB / 1.34 GB, free: 4.121 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.489e-05/0.3395, allocations: 125.1 kB / 1.34 GB, free: 4 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3395, allocations: 0 / 1.34 GB, free: 4 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004499/0.34, allocations: 131.5 kB / 1.34 GB, free: 3.871 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.0004008/0.3404, allocations: 230.7 kB / 1.34 GB, free: 3.637 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008424/0.3412, allocations: 226 kB / 1.34 GB, free: 3.418 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3412, allocations: 0 / 1.34 GB, free: 3.418 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005549/0.3418, allocations: 139.9 kB / 1.341 GB, free: 3.281 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.3422, allocations: 43.91 kB / 1.341 GB, free: 3.238 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007892/0.343, allocations: 380.7 kB / 1.341 GB, free: 2.832 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.3433, allocations: 0.7125 MB / 1.342 GB, free: 2.094 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.615e-05/0.3433, allocations: 15.44 kB / 1.342 GB, free: 2.082 MB / 1.029 GB Notification: Performance of SimCode: time 4.91e-07/0.3433, allocations: 4 kB / 1.342 GB, free: 2.078 MB / 1.029 GB Notification: Performance of Templates: time 0.006935/0.3503, allocations: 4.416 MB / 1.346 GB, free: 13.69 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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: 10.887640047003515]