Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008162/0.0008162, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001013/0.001829, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007197/0.0007197, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009358/0.001655, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9421/0.9421, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09343/1.036, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.354/2.354, allocations: 446.7 MB / 0.6745 GB, free: 6.152 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2814/2.635, allocations: 145.9 MB / 0.817 GB, free: 4.156 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 3.938 kB / 0.8183 GB, free: 2.84 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.284e-05/3.455e-05, allocations: 6.312 kB / 0.8183 GB, free: 2.832 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.004086/0.00412, allocations: 2.14 MB / 0.8204 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002461/0.006581, allocations: 1.46 MB / 0.8218 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.34e-05/0.006675, allocations: 4 kB / 0.8218 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 7.658e-05/0.006751, allocations: 19.78 kB / 0.8219 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.006879, allocations: 55.5 kB / 0.8219 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.008114, allocations: 314.7 kB / 0.8222 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003104/0.008424, allocations: 227 kB / 0.8224 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.008583, allocations: 34.31 kB / 0.8225 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002263/0.008809, allocations: 135.7 kB / 0.8226 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/0.008973, allocations: 75.8 kB / 0.8227 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.696e-05/0.00901, allocations: 16 kB / 0.8227 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009199/0.00993, allocations: 379.4 kB / 0.823 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.169e-05/0.009982, allocations: 31.88 kB / 0.8231 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.849e-05/0.01006, allocations: 55.94 kB / 0.8231 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0006717/0.01073, allocations: 335 kB / 0.8234 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.083e-05/0.01075, allocations: 0 / 0.8234 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.864e-06/0.01075, allocations: 0 / 0.8234 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.367e-05/0.01078, allocations: 0 / 0.8234 GB, free: 13.56 MB / 0.8073 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.0009348/0.01171, allocations: 491.4 kB / 0.8239 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.01176, allocations: 12.62 kB / 0.8239 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/0.01295, allocations: 253.8 kB / 0.8242 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.0131, allocations: 121.6 kB / 0.8243 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.0132, allocations: 75.95 kB / 0.8244 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.864e-05/0.01325, allocations: 16.38 kB / 0.8244 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006124/0.01386, allocations: 283.4 kB / 0.8246 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.01388, allocations: 192 / 0.8246 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.01391, allocations: 8.312 kB / 0.8246 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.01392, allocations: 8.125 kB / 0.8247 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002332/0.01415, allocations: 95.81 kB / 0.8247 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.01539, allocations: 467.7 kB / 0.8252 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/0.01646, allocations: 264.9 kB / 0.8254 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.0166, allocations: 57.12 kB / 0.8255 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001233/0.01673, allocations: 20 kB / 0.8255 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.265e-05/0.01677, allocations: 42.5 kB / 0.8256 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=15): time 2.104e-06/0.01677, allocations: 0 / 0.8256 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15): time 0.001078/0.01785, allocations: 263.9 kB / 0.8258 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.01789, allocations: 55.39 kB / 0.8259 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.01799, allocations: 126 kB / 0.826 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.01803, allocations: 33.7 kB / 0.826 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.642e-05/0.0181, allocations: 120.3 kB / 0.8261 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.97e-05/0.01815, allocations: 55.52 kB / 0.8262 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.983e-05/0.01825, allocations: 45.62 kB / 0.8262 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.01836, allocations: 322.8 kB / 0.8265 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.01849, allocations: 47.98 kB / 0.8266 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.0186, allocations: 51.98 kB / 0.8266 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002282/0.01883, allocations: 108.2 kB / 0.8267 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.01884, allocations: 0 / 0.8267 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004989/0.01933, allocations: 186.3 kB / 0.8269 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.01936, allocations: 4 kB / 0.8269 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.01936, allocations: 4 kB / 0.8269 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003894/0.01975, allocations: 84.7 kB / 0.827 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.02083, allocations: 151.8 kB / 0.8271 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004627/0.02129, allocations: 0.5367 MB / 0.8277 GB, free: 8.996 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002399/0.02153, allocations: 31.88 kB / 0.8277 GB, free: 8.965 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.894e-05/0.02156, allocations: 7.984 kB / 0.8277 GB, free: 8.957 MB / 0.8073 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.0001444/0.02171, allocations: 129.7 kB / 0.8278 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.828e-05/0.02176, allocations: 15.98 kB / 0.8278 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006776/0.02244, allocations: 227.5 kB / 0.8281 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.289e-06/0.02245, allocations: 0 / 0.8281 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.02245, allocations: 0 / 0.8281 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.02246, allocations: 3.938 kB / 0.8281 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/0.02407, allocations: 0.4892 MB / 0.8285 GB, free: 8.047 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.02407, allocations: 0 / 0.8285 GB, free: 8.047 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009885/0.02506, allocations: 147.8 kB / 0.8287 GB, free: 7.902 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.681e-05/0.02508, allocations: 11.89 kB / 0.8287 GB, free: 7.891 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003346/0.02542, allocations: 78.91 kB / 0.8288 GB, free: 7.812 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/0.02545, allocations: 96 / 0.8288 GB, free: 7.812 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004202/0.02587, allocations: 0.564 MB / 0.8293 GB, free: 7.223 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.02587, allocations: 0 / 0.8293 GB, free: 7.223 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004976/0.02637, allocations: 249.9 kB / 0.8296 GB, free: 6.953 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/0.02641, allocations: 7.922 kB / 0.8296 GB, free: 6.945 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002592/0.02667, allocations: 27.98 kB / 0.8296 GB, free: 6.918 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.789e-05/0.02671, allocations: 11.92 kB / 0.8296 GB, free: 6.906 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/0.02674, allocations: 11.98 kB / 0.8296 GB, free: 6.895 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.585e-05/0.02678, allocations: 24.09 kB / 0.8296 GB, free: 6.871 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1e-07/0.02678, allocations: 0 / 0.8296 GB, free: 6.871 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0005778/0.02735, allocations: 131.6 kB / 0.8298 GB, free: 6.742 MB / 0.8073 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.0005441/0.0279, allocations: 219.9 kB / 0.83 GB, free: 6.52 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0005726/0.02847, allocations: 160 kB / 0.8301 GB, free: 6.359 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/0.02848, allocations: 4 kB / 0.8301 GB, free: 6.355 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0003087/0.02879, allocations: 85.34 kB / 0.8302 GB, free: 6.27 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.02917, allocations: 75.83 kB / 0.8303 GB, free: 6.195 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0042/0.03337, allocations: 366.2 kB / 0.8306 GB, free: 5.809 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.285e-05/0.03344, allocations: 67.84 kB / 0.8307 GB, free: 5.723 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.000306/0.03375, allocations: 48.39 kB / 0.8307 GB, free: 5.68 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002856/0.03403, allocations: 91.33 kB / 0.8308 GB, free: 5.59 MB / 0.8073 GB Notification: Performance of SimCode: time 1.643e-06/0.03404, allocations: 0 / 0.8308 GB, free: 5.59 MB / 0.8073 GB Notification: Performance of Templates: time 0.0121/0.04614, allocations: 6.892 MB / 0.8376 GB, free: 14.78 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3700466537848115]