Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008226/0.0008226, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001048/0.00187, allocations: 435.8 kB / 10.33 MB, free: 364 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.0007162/0.0007162, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009248/0.001641, allocations: 463.6 kB / 11.68 MB, free: 2.48 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.9549/0.9549, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09817/1.053, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.431/2.431, allocations: 446.7 MB / 0.6745 GB, free: 6.18 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2596/2.691, allocations: 145.9 MB / 0.817 GB, free: 4.184 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,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") 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_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.8183 GB, free: 2.867 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.657e-05/2.865e-05, allocations: 4.562 kB / 0.8183 GB, free: 2.863 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.004004/0.004032, allocations: 2.152 MB / 0.8204 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002516/0.006549, allocations: 1.456 MB / 0.8218 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.352e-05/0.006642, allocations: 4 kB / 0.8218 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 6.999e-05/0.006712, allocations: 15.8 kB / 0.8219 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.006849, allocations: 55.48 kB / 0.8219 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.008074, allocations: 318.7 kB / 0.8222 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000301/0.008375, allocations: 223 kB / 0.8224 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/0.008553, allocations: 38.25 kB / 0.8225 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002661/0.008819, allocations: 131.7 kB / 0.8226 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.008983, allocations: 71.83 kB / 0.8227 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.915e-05/0.009023, allocations: 20 kB / 0.8227 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009153/0.009938, allocations: 383.4 kB / 0.823 GB, free: 14 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.601e-05/0.009984, allocations: 27.94 kB / 0.8231 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 8.079e-05/0.01006, allocations: 59.88 kB / 0.8231 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0006803/0.01074, allocations: 339 kB / 0.8234 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.846e-05/0.01076, allocations: 0 / 0.8234 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.954e-06/0.01077, allocations: 0 / 0.8234 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.257e-05/0.01079, allocations: 4 kB / 0.8234 GB, free: 13.57 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.000948/0.01174, allocations: 487.5 kB / 0.8239 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.01178, allocations: 8.625 kB / 0.8239 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/0.013, allocations: 249.8 kB / 0.8242 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.01313, allocations: 121.6 kB / 0.8243 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.72e-05/0.01323, allocations: 75.95 kB / 0.8243 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.675e-05/0.01328, allocations: 24.3 kB / 0.8244 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006118/0.01389, allocations: 279.5 kB / 0.8246 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.0139, allocations: 4.172 kB / 0.8246 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.814e-05/0.01393, allocations: 8.312 kB / 0.8246 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.01394, allocations: 8.125 kB / 0.8247 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002429/0.01418, allocations: 95.81 kB / 0.8247 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/0.01556, allocations: 471.7 kB / 0.8252 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.01673, allocations: 258.3 kB / 0.8254 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.01689, allocations: 61.12 kB / 0.8255 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000132/0.01702, allocations: 15.98 kB / 0.8255 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.932e-05/0.01707, allocations: 42.5 kB / 0.8256 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=15): time 3.336e-06/0.01707, allocations: 0 / 0.8256 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15): time 0.00115/0.01822, allocations: 260.9 kB / 0.8258 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.01826, allocations: 55.41 kB / 0.8259 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.0184, allocations: 130.2 kB / 0.826 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.374e-05/0.01845, allocations: 29.7 kB / 0.826 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 9.88e-05/0.01854, allocations: 124.3 kB / 0.8261 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.806e-05/0.0186, allocations: 51.52 kB / 0.8262 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.01872, allocations: 49.61 kB / 0.8262 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.01885, allocations: 322.8 kB / 0.8265 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.01899, allocations: 51.98 kB / 0.8266 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.01911, allocations: 43.98 kB / 0.8266 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002392/0.01935, allocations: 107.5 kB / 0.8267 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.01935, allocations: 4 kB / 0.8267 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005549/0.01991, allocations: 182.3 kB / 0.8269 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/0.01994, allocations: 11.98 kB / 0.8269 GB, free: 9.812 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.01995, allocations: 0 / 0.8269 GB, free: 9.812 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004205/0.02037, allocations: 72.8 kB / 0.827 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.02149, allocations: 147.8 kB / 0.8271 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005381/0.02203, allocations: 0.5524 MB / 0.8277 GB, free: 9.016 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002793/0.02231, allocations: 27.88 kB / 0.8277 GB, free: 8.988 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.231e-05/0.02234, allocations: 7.984 kB / 0.8277 GB, free: 8.98 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.0001403/0.02248, allocations: 125.7 kB / 0.8278 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.978e-05/0.02255, allocations: 20.02 kB / 0.8278 GB, free: 8.828 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000742/0.0233, allocations: 233.7 kB / 0.8281 GB, free: 8.59 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/0.0233, allocations: 0 / 0.8281 GB, free: 8.59 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.0233, allocations: 0 / 0.8281 GB, free: 8.59 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.02331, allocations: 7.938 kB / 0.8281 GB, free: 8.582 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/0.025, allocations: 496.9 kB / 0.8285 GB, free: 8.062 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.025, allocations: 0 / 0.8285 GB, free: 8.062 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/0.02607, allocations: 143.8 kB / 0.8287 GB, free: 7.922 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-05/0.02611, allocations: 15.88 kB / 0.8287 GB, free: 7.906 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000402/0.02651, allocations: 72.78 kB / 0.8288 GB, free: 7.832 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.357e-05/0.02654, allocations: 11.98 kB / 0.8288 GB, free: 7.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004984/0.02704, allocations: 0.5523 MB / 0.8293 GB, free: 7.242 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.02704, allocations: 0 / 0.8293 GB, free: 7.242 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006118/0.02765, allocations: 252.6 kB / 0.8296 GB, free: 6.973 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.625e-05/0.0277, allocations: 3.938 kB / 0.8296 GB, free: 6.969 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002879/0.02799, allocations: 31.97 kB / 0.8296 GB, free: 6.938 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.97e-05/0.02804, allocations: 11.92 kB / 0.8296 GB, free: 6.926 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-05/0.02807, allocations: 11.98 kB / 0.8296 GB, free: 6.914 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.327e-05/0.02812, allocations: 32.08 kB / 0.8296 GB, free: 6.883 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.3e-07/0.02812, allocations: 0 / 0.8296 GB, free: 6.883 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0006566/0.02877, allocations: 131.6 kB / 0.8298 GB, free: 6.754 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.0006115/0.02938, allocations: 219.9 kB / 0.83 GB, free: 6.531 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0006187/0.03, allocations: 152.1 kB / 0.8301 GB, free: 6.379 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-05/0.03002, allocations: 8 kB / 0.8301 GB, free: 6.371 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0003515/0.03037, allocations: 89.2 kB / 0.8302 GB, free: 6.281 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.03076, allocations: 66.42 kB / 0.8303 GB, free: 6.219 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004373/0.03513, allocations: 335.5 kB / 0.8306 GB, free: 5.859 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.167e-05/0.0352, allocations: 63.84 kB / 0.8307 GB, free: 5.777 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0003077/0.0355, allocations: 51.77 kB / 0.8307 GB, free: 5.73 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002982/0.0358, allocations: 99.25 kB / 0.8308 GB, free: 5.633 MB / 0.8073 GB Notification: Performance of SimCode: time 2.325e-06/0.0358, allocations: 0 / 0.8308 GB, free: 5.633 MB / 0.8073 GB Notification: Performance of Templates: time 0.01508/0.05088, allocations: 6.884 MB / 0.8375 GB, free: 14.8 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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.455861093476415]