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.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.001839/0.001839, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.002055/0.002055, allocations: 197.8 kB / 22.17 MB, free: 5.211 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.478/1.478, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.799/2.799, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 65.28 kB / 1.109 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3199, allocations: 168.7 MB / 1.274 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003554/0.3235, allocations: 2.059 MB / 1.276 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002728/0.3262, allocations: 1.682 MB / 1.278 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.645e-05/0.3262, allocations: 0 / 1.278 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.91e-05/0.3263, allocations: 23.78 kB / 1.278 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.3264, allocations: 43.56 kB / 1.278 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009909/0.3274, allocations: 362.8 kB / 1.278 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002594/0.3277, allocations: 215.2 kB / 1.278 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.3278, allocations: 37.47 kB / 1.278 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.3279, allocations: 83.72 kB / 1.278 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.3281, allocations: 87.72 kB / 1.279 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.429e-05/0.3281, allocations: 16 kB / 1.279 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008384/0.329, allocations: 423.5 kB / 1.279 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.667e-05/0.329, allocations: 43.84 kB / 1.279 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.914e-05/0.3291, allocations: 91.64 kB / 1.279 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006268/0.3298, allocations: 426.6 kB / 1.279 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3298, allocations: 0 / 1.279 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.346e-06/0.3298, allocations: 4 kB / 1.279 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.3298, allocations: 0 / 1.279 GB, free: 5.691 MB / 0.9825 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.0009418/0.3307, allocations: 0.5295 MB / 1.28 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.3308, allocations: 8.031 kB / 1.28 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006087/0.3314, allocations: 88.73 kB / 1.28 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.3315, allocations: 180.3 kB / 1.28 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.191e-05/0.3316, allocations: 46.25 kB / 1.28 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/0.3316, allocations: 16.31 kB / 1.28 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004563/0.3321, allocations: 189.7 kB / 1.281 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3321, allocations: 0 / 1.281 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.605e-05/0.3321, allocations: 8 kB / 1.281 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.3321, allocations: 4 kB / 1.281 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004775/0.3326, allocations: 175.9 kB / 1.281 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.3341, allocations: 0.919 MB / 1.282 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005286/0.3346, allocations: 158.5 kB / 1.282 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.3348, allocations: 72.81 kB / 1.282 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007175/0.3355, allocations: 0.5181 MB / 1.282 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.3356, allocations: 34.55 kB / 1.282 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.3356, allocations: 0 / 1.282 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0007765/0.3363, allocations: 237.8 kB / 1.283 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.3364, allocations: 55.41 kB / 1.283 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.3365, allocations: 163.5 kB / 1.283 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.3366, allocations: 25.7 kB / 1.283 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.346e-05/0.3367, allocations: 131.8 kB / 1.283 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.378e-05/0.3367, allocations: 43.59 kB / 1.283 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.934e-05/0.3368, allocations: 41.7 kB / 1.283 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.3369, allocations: 318.8 kB / 1.283 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/0.3372, allocations: 79.95 kB / 1.283 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/0.3374, allocations: 93.67 kB / 1.283 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004127/0.3378, allocations: 148.1 kB / 1.284 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.3378, allocations: 8 kB / 1.284 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005486/0.3384, allocations: 213.5 kB / 1.284 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.3384, allocations: 7.984 kB / 1.284 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3384, allocations: 0 / 1.284 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.3384, allocations: 0 / 1.284 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002724/0.3387, allocations: 43.91 kB / 1.284 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.3387, allocations: 4 kB / 1.284 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/0.3389, allocations: 23.91 kB / 1.284 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.3389, allocations: 8 kB / 1.284 GB, free: 0.7305 MB / 0.9825 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.0001307/0.339, allocations: 131.2 kB / 1.284 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.884e-05/0.3391, allocations: 11.91 kB / 1.284 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005613/0.3396, allocations: 201.3 kB / 1.284 GB, free: 388 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.3397, allocations: 4 kB / 1.284 GB, free: 384 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3397, allocations: 0 / 1.284 GB, free: 384 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.3397, allocations: 0 / 1.284 GB, free: 384 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/0.3413, allocations: 0.9895 MB / 1.285 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.3413, allocations: 3.938 kB / 1.285 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002121/0.3415, allocations: 27.98 kB / 1.285 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.3415, allocations: 3.984 kB / 1.285 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.3416, allocations: 4 kB / 1.285 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.3416, allocations: 3.984 kB / 1.285 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3416, allocations: 4.062 kB / 1.285 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005531/0.3421, allocations: 289 kB / 1.286 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.245e-05/0.3422, allocations: 89.02 kB / 1.286 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.587e-05/0.3422, allocations: 8 kB / 1.286 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.3424, allocations: 23.91 kB / 1.286 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.3425, allocations: 15.92 kB / 1.286 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.3425, allocations: 4 kB / 1.286 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001016/0.3426, allocations: 121.1 kB / 1.286 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3426, allocations: 0 / 1.286 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004698/0.3431, allocations: 127.5 kB / 1.286 GB, free: 14.48 MB / 0.9981 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.0004483/0.3435, allocations: 227.2 kB / 1.286 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005472/0.3441, allocations: 181.7 kB / 1.286 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3441, allocations: 0 / 1.286 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000218/0.3443, allocations: 75.89 kB / 1.286 GB, free: 14 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004505/0.3447, allocations: 40.17 kB / 1.286 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008042/0.3455, allocations: 324.3 kB / 1.287 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/0.3459, allocations: 0.7086 MB / 1.287 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001376/0.3461, allocations: 29.17 kB / 1.287 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.361e-05/0.3461, allocations: 23.44 kB / 1.287 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/0.3461, allocations: 0 / 1.287 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of Templates: time 0.008984/0.3551, allocations: 4.368 MB / 1.292 GB, free: 8.504 MB / 0.9981 GB " [Timeout remaining time 300] 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 cvode -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_2/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.724220860749483]