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.002258/0.002258, allocations: 87.69 kB / 20.23 MB, free: 4.188 MB / 18.57 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.002622/0.002622, allocations: 161.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 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.741/1.741, allocations: 177.1 MB / 203.9 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.228/3.228, allocations: 377.8 MB / 0.6232 GB, free: 8.504 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.991e-05/3.146e-05, allocations: 3.312 kB / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.004153/0.004185, allocations: 2.076 MB / 0.8128 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003732/0.007917, allocations: 1.634 MB / 0.8144 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.492e-05/0.008002, allocations: 5 kB / 0.8144 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 7.787e-05/0.00808, allocations: 19.78 kB / 0.8145 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.008238, allocations: 56.64 kB / 0.8145 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.009569, allocations: 373.5 kB / 0.8149 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003031/0.009872, allocations: 223 kB / 0.8151 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.01003, allocations: 41.64 kB / 0.8151 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.01023, allocations: 119.8 kB / 0.8152 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.0104, allocations: 63.84 kB / 0.8153 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.359e-05/0.01044, allocations: 25.47 kB / 0.8153 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009027/0.01134, allocations: 415.3 kB / 0.8157 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.497e-05/0.01141, allocations: 44.33 kB / 0.8158 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.782e-05/0.01151, allocations: 65.48 kB / 0.8158 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000864/0.01237, allocations: 490.6 kB / 0.8163 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.01237, allocations: 0 / 0.8163 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.172e-06/0.01238, allocations: 0 / 0.8163 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.01238, allocations: 0.9062 kB / 0.8163 GB, free: 12.48 MB / 0.7761 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.001074/0.01345, allocations: 0.5516 MB / 0.8168 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/0.01351, allocations: 12.02 kB / 0.8168 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006191/0.01413, allocations: 95.77 kB / 0.8169 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.0143, allocations: 132.4 kB / 0.8171 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.01442, allocations: 71.95 kB / 0.8171 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/0.01446, allocations: 12.91 kB / 0.8171 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004909/0.01495, allocations: 248.2 kB / 0.8174 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.01496, allocations: 192 / 0.8174 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.01499, allocations: 8.375 kB / 0.8174 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.015, allocations: 8.938 kB / 0.8174 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003118/0.01531, allocations: 123.9 kB / 0.8175 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001679/0.01699, allocations: 0.6708 MB / 0.8182 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/0.01873, allocations: 253.6 kB / 0.8184 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002013/0.01893, allocations: 80.47 kB / 0.8185 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004091/0.01934, allocations: 63.34 kB / 0.8185 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.623e-05/0.01939, allocations: 41.38 kB / 0.8186 GB, free: 9.988 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=15): time 1.122e-06/0.01939, allocations: 0 / 0.8186 GB, free: 9.988 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15): time 0.001573/0.02096, allocations: 354.7 kB / 0.8189 GB, free: 9.641 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.02102, allocations: 59.39 kB / 0.819 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.02121, allocations: 193.9 kB / 0.8192 GB, free: 9.363 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.02124, allocations: 26.48 kB / 0.8192 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.02139, allocations: 175 kB / 0.8193 GB, free: 9.156 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.245e-05/0.02145, allocations: 56.09 kB / 0.8194 GB, free: 9.102 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.02156, allocations: 44.45 kB / 0.8194 GB, free: 9.051 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000304/0.02186, allocations: 0.5001 MB / 0.8199 GB, free: 8.539 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.02206, allocations: 75.97 kB / 0.82 GB, free: 8.465 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.02224, allocations: 74.86 kB / 0.8201 GB, free: 8.395 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000374/0.02262, allocations: 161.4 kB / 0.8202 GB, free: 8.234 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.02262, allocations: 0 / 0.8202 GB, free: 8.234 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008615/0.02348, allocations: 291.6 kB / 0.8205 GB, free: 7.945 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.0235, allocations: 6.656 kB / 0.8205 GB, free: 7.941 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.0235, allocations: 0 / 0.8205 GB, free: 7.941 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007388/0.02424, allocations: 118.6 kB / 0.8206 GB, free: 7.824 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.02558, allocations: 98.77 kB / 0.8207 GB, free: 7.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001028/0.0266, allocations: 0.8814 MB / 0.8216 GB, free: 6.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.02675, allocations: 15.88 kB / 0.8216 GB, free: 6.805 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.02678, allocations: 8 kB / 0.8216 GB, free: 6.797 MB / 0.7761 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.000179/0.02695, allocations: 168.6 kB / 0.8218 GB, free: 6.621 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.011e-05/0.02701, allocations: 16.62 kB / 0.8218 GB, free: 6.605 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008377/0.02785, allocations: 270.6 kB / 0.822 GB, free: 6.332 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.02786, allocations: 8.031 kB / 0.822 GB, free: 6.324 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.02787, allocations: 7.984 kB / 0.8221 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.02788, allocations: 0 / 0.8221 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001747/0.02962, allocations: 0.7063 MB / 0.8227 GB, free: 5.559 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.02962, allocations: 0 / 0.8227 GB, free: 5.559 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/0.03092, allocations: 96.02 kB / 0.8228 GB, free: 5.465 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004154/0.03134, allocations: 111.6 kB / 0.8229 GB, free: 5.352 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.03136, allocations: 4 kB / 0.8229 GB, free: 5.348 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009436/0.0323, allocations: 0.8781 MB / 0.8238 GB, free: 4.438 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.0323, allocations: 0 / 0.8238 GB, free: 4.438 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008835/0.03319, allocations: 406.7 kB / 0.8242 GB, free: 4.008 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.206e-05/0.03321, allocations: 15.89 kB / 0.8242 GB, free: 3.992 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.03324, allocations: 0 / 0.8242 GB, free: 3.992 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.03343, allocations: 19.92 kB / 0.8242 GB, free: 3.973 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.03348, allocations: 7.984 kB / 0.8242 GB, free: 3.965 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.03349, allocations: 4 kB / 0.8242 GB, free: 3.961 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001143/0.03361, allocations: 143.2 kB / 0.8244 GB, free: 3.82 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.03361, allocations: 0 / 0.8244 GB, free: 3.82 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005267/0.03413, allocations: 135.5 kB / 0.8245 GB, free: 3.688 MB / 0.7761 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.0005595/0.03469, allocations: 242.7 kB / 0.8247 GB, free: 3.441 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0008526/0.03555, allocations: 218.8 kB / 0.8249 GB, free: 3.223 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.03555, allocations: 0 / 0.8249 GB, free: 3.223 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004911/0.03604, allocations: 123 kB / 0.8251 GB, free: 3.102 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.0364, allocations: 45.77 kB / 0.8251 GB, free: 3.059 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008516/0.03725, allocations: 328.5 kB / 0.8254 GB, free: 2.703 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.03738, allocations: 91.08 kB / 0.8255 GB, free: 2.594 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.887e-05/0.03747, allocations: 20.52 kB / 0.8255 GB, free: 2.578 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.336e-05/0.03754, allocations: 20.5 kB / 0.8255 GB, free: 2.555 MB / 0.7761 GB Notification: Performance of SimCode: time 5.31e-07/0.03754, allocations: 0 / 0.8255 GB, free: 2.555 MB / 0.7761 GB Notification: Performance of Templates: time 0.01108/0.04862, allocations: 4.517 MB / 0.83 GB, free: 14.11 MB / 0.7917 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 240] 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/jenkins/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: 9.595254783984274]