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.001952/0.001952, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002299/0.002299, allocations: 210.8 kB / 22.24 MB, free: 5.262 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.521/3.521, allocations: 0.5107 GB / 0.8158 GB, free: 17.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: 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.002193/0.002193, allocations: 74.14 kB / 1.186 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.3958, allocations: 181.9 MB / 1.364 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.00337/0.3991, allocations: 1.996 MB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002626/0.4018, allocations: 1.499 MB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.272e-05/0.4018, allocations: 8 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.999e-05/0.4019, allocations: 19.78 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.402, allocations: 51.55 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.4031, allocations: 357.2 kB / 1.368 GB, free: 9.656 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002554/0.4033, allocations: 231 kB / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.4035, allocations: 41.59 kB / 1.368 GB, free: 9.383 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.4036, allocations: 71.84 kB / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.4037, allocations: 79.66 kB / 1.368 GB, free: 9.234 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.271e-05/0.4038, allocations: 20 kB / 1.368 GB, free: 9.215 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008254/0.4046, allocations: 407.5 kB / 1.368 GB, free: 8.816 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.577e-05/0.4046, allocations: 35.91 kB / 1.369 GB, free: 8.781 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.38e-05/0.4047, allocations: 83.7 kB / 1.369 GB, free: 8.699 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006304/0.4054, allocations: 430.6 kB / 1.369 GB, free: 8.277 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4054, allocations: 4 kB / 1.369 GB, free: 8.273 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4054, allocations: 0 / 1.369 GB, free: 8.273 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.4054, allocations: 0 / 1.369 GB, free: 8.273 MB / 1.061 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.0008698/0.4062, allocations: 453.2 kB / 1.369 GB, free: 7.793 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.4063, allocations: 12.03 kB / 1.369 GB, free: 7.781 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003249/0.4095, allocations: 324.4 kB / 1.37 GB, free: 7.465 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.4097, allocations: 114.4 kB / 1.37 GB, free: 7.328 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/0.4098, allocations: 75.95 kB / 1.37 GB, free: 7.242 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.647e-05/0.4098, allocations: 16.38 kB / 1.37 GB, free: 7.227 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.4114, allocations: 393.1 kB / 1.37 GB, free: 6.824 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.4114, allocations: 3.938 kB / 1.37 GB, free: 6.82 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.391e-05/0.4115, allocations: 4 kB / 1.37 GB, free: 6.816 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.619e-06/0.4115, allocations: 7.984 kB / 1.37 GB, free: 6.809 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002432/0.4139, allocations: 367.6 kB / 1.371 GB, free: 6.449 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001699/0.4156, allocations: 0.7448 MB / 1.371 GB, free: 5.668 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004996/0.4206, allocations: 0.6385 MB / 1.372 GB, free: 5.02 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001226/0.4218, allocations: 196.7 kB / 1.372 GB, free: 4.824 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/0.4219, allocations: 19.94 kB / 1.372 GB, free: 4.805 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.422, allocations: 38.5 kB / 1.372 GB, free: 4.758 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 2.856e-06/0.422, allocations: 0 / 1.372 GB, free: 4.758 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.004756/0.4267, allocations: 0.7112 MB / 1.373 GB, free: 4.039 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.4268, allocations: 55.41 kB / 1.373 GB, free: 3.973 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.4269, allocations: 128.9 kB / 1.373 GB, free: 3.84 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.345e-05/0.427, allocations: 37.64 kB / 1.373 GB, free: 3.797 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.211e-05/0.427, allocations: 124.2 kB / 1.373 GB, free: 3.672 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.368e-05/0.4271, allocations: 55.53 kB / 1.373 GB, free: 3.617 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.4272, allocations: 41.69 kB / 1.373 GB, free: 3.57 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.4274, allocations: 322.8 kB / 1.374 GB, free: 3.246 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001291/0.4287, allocations: 207.8 kB / 1.374 GB, free: 3.043 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.4299, allocations: 201.5 kB / 1.374 GB, free: 2.848 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002255/0.4322, allocations: 362.2 kB / 1.374 GB, free: 2.492 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4322, allocations: 0 / 1.374 GB, free: 2.492 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.002937/0.4351, allocations: 0.4963 MB / 1.375 GB, free: 1.988 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.4351, allocations: 8 kB / 1.375 GB, free: 1.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.4351, allocations: 0 / 1.375 GB, free: 1.98 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006148/0.4357, allocations: 123.4 kB / 1.375 GB, free: 1.859 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001776/0.4375, allocations: 151.9 kB / 1.375 GB, free: 1.711 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000935/0.4385, allocations: 0.6342 MB / 1.376 GB, free: 1.051 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000676/0.4391, allocations: 67.86 kB / 1.376 GB, free: 0.9844 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.265e-05/0.4392, allocations: 7.984 kB / 1.376 GB, free: 0.9766 MB / 1.061 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.0001761/0.4393, allocations: 121.8 kB / 1.376 GB, free: 0.8477 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.969e-05/0.4394, allocations: 11.91 kB / 1.376 GB, free: 0.8359 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003061/0.4425, allocations: 0.5316 MB / 1.377 GB, free: 308 kB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.4425, allocations: 0 / 1.377 GB, free: 308 kB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4425, allocations: 0 / 1.377 GB, free: 308 kB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.4425, allocations: 3.984 kB / 1.377 GB, free: 304 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005187/0.4477, allocations: 0.9762 MB / 1.378 GB, free: 15.27 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/0.4477, allocations: 4 kB / 1.378 GB, free: 15.27 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001723/0.4494, allocations: 139.9 kB / 1.378 GB, free: 15.13 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005542/0.45, allocations: 124.7 kB / 1.378 GB, free: 15.01 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.653e-05/0.45, allocations: 7.984 kB / 1.378 GB, free: 15 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008637/0.4509, allocations: 0.6303 MB / 1.378 GB, free: 14.34 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.4509, allocations: 4 kB / 1.378 GB, free: 14.34 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002827/0.4537, allocations: 0.5544 MB / 1.379 GB, free: 13.76 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.266e-05/0.4537, allocations: 15.88 kB / 1.379 GB, free: 13.75 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.586e-05/0.4538, allocations: 11.94 kB / 1.379 GB, free: 13.73 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007208/0.4545, allocations: 55.92 kB / 1.379 GB, free: 13.68 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.4545, allocations: 11.98 kB / 1.379 GB, free: 13.67 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.4546, allocations: 7.984 kB / 1.379 GB, free: 13.66 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.812e-05/0.4546, allocations: 101.8 kB / 1.379 GB, free: 13.56 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4546, allocations: 0 / 1.379 GB, free: 13.56 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005414/0.4552, allocations: 135.5 kB / 1.379 GB, free: 13.43 MB / 1.076 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.0004968/0.4557, allocations: 218.8 kB / 1.379 GB, free: 13.21 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003049/0.4587, allocations: 451.4 kB / 1.38 GB, free: 12.77 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4587, allocations: 0 / 1.38 GB, free: 12.77 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001629/0.4604, allocations: 239.7 kB / 1.38 GB, free: 12.53 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004674/0.4608, allocations: 37.59 kB / 1.38 GB, free: 12.5 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/0.4633, allocations: 0.4888 MB / 1.381 GB, free: 11.98 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.4634, allocations: 106.6 kB / 1.381 GB, free: 11.85 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002885/0.4637, allocations: 37.09 kB / 1.381 GB, free: 11.82 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/0.4639, allocations: 35.39 kB / 1.381 GB, free: 11.78 MB / 1.076 GB Notification: Performance of SimCode: time 8.72e-07/0.4639, allocations: 4 kB / 1.381 GB, free: 11.78 MB / 1.076 GB Notification: Performance of Templates: time 0.01166/0.4755, allocations: 6.299 MB / 1.387 GB, free: 5.59 MB / 1.076 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.936500975862145]