Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001504/0.001504, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001697/0.001697, allocations: 218 kB / 22.26 MB, free: 5.125 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.703/1.703, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.846/2.846, allocations: 476.7 MB / 0.7707 GB, free: 4.316 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") [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.002102/0.002102, allocations: 64.67 kB / 1.118 GB, free: 40.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5011/0.5032, allocations: 170 MB / 1.284 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003903/0.5071, allocations: 2.081 MB / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002914/0.5101, allocations: 1.686 MB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.995e-05/0.5101, allocations: 4 kB / 1.288 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.303e-05/0.5102, allocations: 19.78 kB / 1.288 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.5103, allocations: 47.56 kB / 1.288 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.5115, allocations: 358.8 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002951/0.5118, allocations: 223.1 kB / 1.288 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.5119, allocations: 41.59 kB / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.512, allocations: 79.78 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.5122, allocations: 95.66 kB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.22e-05/0.5123, allocations: 16 kB / 1.288 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009202/0.5132, allocations: 423.5 kB / 1.289 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.119e-05/0.5132, allocations: 47.89 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.898e-05/0.5133, allocations: 87.66 kB / 1.289 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007155/0.514, allocations: 438.6 kB / 1.289 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.514, allocations: 0 / 1.289 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.154e-06/0.514, allocations: 0 / 1.289 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.407e-05/0.5141, allocations: 3.938 kB / 1.289 GB, free: 5.656 MB / 0.9825 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.0009395/0.515, allocations: 461.2 kB / 1.29 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.515, allocations: 8.031 kB / 1.29 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005925/0.5156, allocations: 84.73 kB / 1.29 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.5158, allocations: 130.3 kB / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.5159, allocations: 75.95 kB / 1.29 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.606e-05/0.5159, allocations: 16.38 kB / 1.29 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004515/0.5164, allocations: 190 kB / 1.29 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.5164, allocations: 7.938 kB / 1.29 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.498e-05/0.5164, allocations: 4 kB / 1.29 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.5164, allocations: 4 kB / 1.29 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003203/0.5167, allocations: 131.9 kB / 1.29 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.5183, allocations: 0.6955 MB / 1.291 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002081/0.5204, allocations: 318.2 kB / 1.291 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002188/0.5206, allocations: 84.75 kB / 1.291 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005119/0.5211, allocations: 71.92 kB / 1.291 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.453e-05/0.5211, allocations: 34.5 kB / 1.292 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 2.205e-06/0.5211, allocations: 0 / 1.292 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.001843/0.523, allocations: 394.3 kB / 1.292 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/0.523, allocations: 55.41 kB / 1.292 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.5232, allocations: 152.5 kB / 1.292 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.898e-05/0.5233, allocations: 37.62 kB / 1.292 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.5234, allocations: 115.9 kB / 1.292 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.768e-05/0.5234, allocations: 55.52 kB / 1.292 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.215e-05/0.5235, allocations: 41.7 kB / 1.292 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001931/0.5237, allocations: 322.8 kB / 1.293 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.5239, allocations: 79.95 kB / 1.293 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.5242, allocations: 89.45 kB / 1.293 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004193/0.5246, allocations: 155 kB / 1.293 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5246, allocations: 0 / 1.293 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0009438/0.5255, allocations: 294.2 kB / 1.293 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.5256, allocations: 6.031 kB / 1.293 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.5256, allocations: 0 / 1.293 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006464/0.5262, allocations: 116.8 kB / 1.293 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.5274, allocations: 108 kB / 1.293 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001002/0.5284, allocations: 0.6342 MB / 1.294 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.5286, allocations: 19.92 kB / 1.294 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.5287, allocations: 11.98 kB / 1.294 GB, free: 0.5 MB / 0.9825 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.0001543/0.5288, allocations: 125.8 kB / 1.294 GB, free: 376 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.335e-05/0.5289, allocations: 23.84 kB / 1.294 GB, free: 352 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009524/0.5298, allocations: 284.2 kB / 1.295 GB, free: 64 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.5298, allocations: 4.141 kB / 1.295 GB, free: 60 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.5298, allocations: 3.984 kB / 1.295 GB, free: 56 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.5298, allocations: 0 / 1.295 GB, free: 56 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002075/0.5319, allocations: 0.7066 MB / 1.295 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.5319, allocations: 0 / 1.295 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/0.533, allocations: 96.02 kB / 1.295 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005562/0.5336, allocations: 123.5 kB / 1.295 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/0.5336, allocations: 3.984 kB / 1.295 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009493/0.5346, allocations: 0.6342 MB / 1.296 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.5346, allocations: 4.031 kB / 1.296 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009823/0.5355, allocations: 365.8 kB / 1.296 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.134e-05/0.5356, allocations: 15.84 kB / 1.296 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.837e-05/0.5356, allocations: 11.98 kB / 1.296 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.5358, allocations: 11.98 kB / 1.296 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.5359, allocations: 15.98 kB / 1.296 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.5359, allocations: 7.984 kB / 1.296 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001325/0.536, allocations: 118.4 kB / 1.297 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.536, allocations: 4 kB / 1.297 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000572/0.5366, allocations: 135.5 kB / 1.297 GB, free: 13.71 MB / 0.9981 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.0005266/0.5371, allocations: 226.7 kB / 1.297 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009479/0.5381, allocations: 226 kB / 1.297 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5381, allocations: 0 / 1.297 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006194/0.5387, allocations: 127.8 kB / 1.297 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.5392, allocations: 44.08 kB / 1.297 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008404/0.54, allocations: 339.2 kB / 1.298 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.5404, allocations: 0.7047 MB / 1.298 GB, free: 12 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001086/0.5405, allocations: 29.48 kB / 1.298 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.634e-05/0.5406, allocations: 19.58 kB / 1.298 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of SimCode: time 4.51e-07/0.5406, allocations: 0 / 1.298 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of Templates: time 0.01058/0.5512, allocations: 4.984 MB / 1.303 GB, free: 7.016 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.91730442782864]