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.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.001774/0.001774, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.001976/0.001976, allocations: 191.6 kB / 22.11 MB, free: 5.152 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.485/1.485, allocations: 225.6 MB / 250.8 MB, free: 13.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.288/3.288, allocations: 495.8 MB / 0.783 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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 0.002108/0.002108, allocations: 63.14 kB / 1.137 GB, free: 33.99 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.4065, allocations: 173.6 MB / 1.307 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003888/0.4104, allocations: 2.043 MB / 1.309 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002919/0.4133, allocations: 1.674 MB / 1.31 GB, free: 14.25 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.652e-05/0.4134, allocations: 4 kB / 1.31 GB, free: 14.24 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.987e-05/0.4135, allocations: 15.8 kB / 1.31 GB, free: 14.23 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001318/0.4136, allocations: 47.55 kB / 1.31 GB, free: 14.18 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.4148, allocations: 362.8 kB / 1.311 GB, free: 13.82 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002761/0.4151, allocations: 227 kB / 1.311 GB, free: 13.6 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.4153, allocations: 37.66 kB / 1.311 GB, free: 13.56 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.4154, allocations: 75.84 kB / 1.311 GB, free: 13.48 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.4156, allocations: 87.67 kB / 1.311 GB, free: 13.4 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.796e-05/0.4156, allocations: 20 kB / 1.311 GB, free: 13.38 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008349/0.4164, allocations: 423.5 kB / 1.312 GB, free: 12.96 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.187e-05/0.4165, allocations: 39.91 kB / 1.312 GB, free: 12.93 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.961e-05/0.4166, allocations: 87.64 kB / 1.312 GB, free: 12.84 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0006947/0.4173, allocations: 434.6 kB / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4173, allocations: 0 / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.754e-06/0.4173, allocations: 7.938 kB / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.4173, allocations: 0 / 1.312 GB, free: 12.41 MB / 1.014 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.0009136/0.4182, allocations: 465.1 kB / 1.313 GB, free: 11.92 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.4182, allocations: 8.031 kB / 1.313 GB, free: 11.91 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006678/0.4189, allocations: 92.73 kB / 1.313 GB, free: 11.82 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.419, allocations: 118.4 kB / 1.313 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.4191, allocations: 54.25 kB / 1.313 GB, free: 11.62 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/0.4192, allocations: 12.38 kB / 1.313 GB, free: 11.61 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004676/0.4196, allocations: 187.8 kB / 1.313 GB, free: 11.42 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.4197, allocations: 3.938 kB / 1.313 GB, free: 11.42 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.758e-05/0.4197, allocations: 4 kB / 1.313 GB, free: 11.41 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.4197, allocations: 4 kB / 1.313 GB, free: 11.41 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004977/0.4202, allocations: 183.9 kB / 1.313 GB, free: 11.23 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.4216, allocations: 0.5854 MB / 1.314 GB, free: 10.6 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005498/0.4221, allocations: 158.5 kB / 1.314 GB, free: 10.44 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/0.4224, allocations: 68.83 kB / 1.314 GB, free: 10.37 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004636/0.4228, allocations: 79.91 kB / 1.314 GB, free: 10.29 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.4229, allocations: 34.56 kB / 1.314 GB, free: 10.25 MB / 1.014 GB Notification: Performance of pre-optimization done (n=14): time 1.653e-06/0.4229, allocations: 0 / 1.314 GB, free: 10.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=14): time 0.0007806/0.4236, allocations: 237.7 kB / 1.314 GB, free: 10.01 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.4237, allocations: 55.41 kB / 1.314 GB, free: 9.941 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.4238, allocations: 161.5 kB / 1.315 GB, free: 9.777 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.4239, allocations: 29.69 kB / 1.315 GB, free: 9.742 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.109e-05/0.424, allocations: 123.9 kB / 1.315 GB, free: 9.617 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.415e-05/0.424, allocations: 51.58 kB / 1.315 GB, free: 9.566 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.711e-05/0.4241, allocations: 33.7 kB / 1.315 GB, free: 9.527 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.4242, allocations: 326.8 kB / 1.315 GB, free: 9.199 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/0.4245, allocations: 75.95 kB / 1.315 GB, free: 9.125 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.4247, allocations: 96.25 kB / 1.315 GB, free: 9.027 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004144/0.4252, allocations: 145.6 kB / 1.315 GB, free: 8.879 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.4252, allocations: 3.938 kB / 1.315 GB, free: 8.875 MB / 1.014 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005582/0.4257, allocations: 222.9 kB / 1.316 GB, free: 8.652 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.4257, allocations: 8 kB / 1.316 GB, free: 8.645 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.4257, allocations: 0 / 1.316 GB, free: 8.645 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.4258, allocations: 0 / 1.316 GB, free: 8.645 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/0.426, allocations: 39.97 kB / 1.316 GB, free: 8.605 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.426, allocations: 4 kB / 1.316 GB, free: 8.602 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.4262, allocations: 27.84 kB / 1.316 GB, free: 8.574 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.4263, allocations: 8 kB / 1.316 GB, free: 8.566 MB / 1.014 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.0001278/0.4264, allocations: 129.7 kB / 1.316 GB, free: 8.43 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.065e-05/0.4264, allocations: 15.89 kB / 1.316 GB, free: 8.414 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005724/0.427, allocations: 205.8 kB / 1.316 GB, free: 8.211 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.427, allocations: 4 kB / 1.316 GB, free: 8.207 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.427, allocations: 0 / 1.316 GB, free: 8.207 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.427, allocations: 0 / 1.316 GB, free: 8.207 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.4284, allocations: 0.5809 MB / 1.317 GB, free: 7.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.4284, allocations: 0 / 1.317 GB, free: 7.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002696/0.4287, allocations: 27.97 kB / 1.317 GB, free: 7.543 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.784e-06/0.4287, allocations: 8 kB / 1.317 GB, free: 7.535 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.4287, allocations: 4 kB / 1.317 GB, free: 7.531 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.778e-06/0.4287, allocations: 4 kB / 1.317 GB, free: 7.527 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.4287, allocations: 0 / 1.317 GB, free: 7.527 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000566/0.4293, allocations: 293.1 kB / 1.317 GB, free: 7.219 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.817e-05/0.4293, allocations: 19.83 kB / 1.317 GB, free: 7.199 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.632e-05/0.4294, allocations: 4 kB / 1.317 GB, free: 7.195 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.4296, allocations: 19.98 kB / 1.317 GB, free: 7.176 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.4296, allocations: 11.92 kB / 1.317 GB, free: 7.164 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.4296, allocations: 7.984 kB / 1.317 GB, free: 7.156 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.734e-05/0.4297, allocations: 115.3 kB / 1.317 GB, free: 7.043 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.4297, allocations: 0 / 1.317 GB, free: 7.043 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000518/0.4303, allocations: 131.6 kB / 1.317 GB, free: 6.914 MB / 1.014 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.0004827/0.4307, allocations: 225.3 kB / 1.317 GB, free: 6.688 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005355/0.4313, allocations: 175.8 kB / 1.318 GB, free: 6.516 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4313, allocations: 0 / 1.318 GB, free: 6.516 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.4315, allocations: 71.91 kB / 1.318 GB, free: 6.445 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/0.4319, allocations: 40.16 kB / 1.318 GB, free: 6.406 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007806/0.4327, allocations: 317 kB / 1.318 GB, free: 6.066 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.4331, allocations: 0.7163 MB / 1.319 GB, free: 5.324 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001396/0.4332, allocations: 28.23 kB / 1.319 GB, free: 5.301 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.803e-05/0.4333, allocations: 23.44 kB / 1.319 GB, free: 5.277 MB / 1.014 GB Notification: Performance of SimCode: time 3.8e-07/0.4333, allocations: 0 / 1.319 GB, free: 5.277 MB / 1.014 GB Notification: Performance of Templates: time 0.009383/0.4427, allocations: 4.412 MB / 1.323 GB, free: 0.918 MB / 1.014 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 400] 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.443867100402713]