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.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.001462/0.001462, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001648/0.001648, allocations: 217 kB / 22.25 MB, free: 5.082 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.487/1.487, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.285/3.285, allocations: 0.49 GB / 0.7951 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_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: 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.002232/0.002232, allocations: 69.39 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5123/0.5146, allocations: 176.1 MB / 1.326 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003932/0.5185, allocations: 2.066 MB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003001/0.5215, allocations: 1.69 MB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.841e-05/0.5216, allocations: 0 / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.507e-05/0.5217, allocations: 19.8 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.5218, allocations: 47.55 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.5231, allocations: 366.7 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003041/0.5234, allocations: 219.1 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.5236, allocations: 47.45 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.5237, allocations: 83.78 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.5239, allocations: 83.69 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.499e-05/0.5239, allocations: 20 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000885/0.5248, allocations: 431.5 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.032e-05/0.5248, allocations: 35.91 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.5249, allocations: 91.64 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006805/0.5256, allocations: 434.6 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.5256, allocations: 0 / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.054e-06/0.5256, allocations: 0 / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.5256, allocations: 0 / 1.332 GB, free: 11.82 MB / 1.029 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.0009371/0.5266, allocations: 462.5 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.5266, allocations: 8.031 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005917/0.5272, allocations: 96.73 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.5274, allocations: 122.3 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/0.5275, allocations: 75.95 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/0.5275, allocations: 16.38 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004543/0.528, allocations: 190 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.528, allocations: 3.938 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.528, allocations: 4 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.528, allocations: 4 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003265/0.5284, allocations: 139.8 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/0.5299, allocations: 0.6724 MB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001989/0.5318, allocations: 334.2 kB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002074/0.5321, allocations: 72.83 kB / 1.334 GB, free: 9.523 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004639/0.5325, allocations: 79.89 kB / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.284e-05/0.5326, allocations: 34.56 kB / 1.334 GB, free: 9.402 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.333e-06/0.5326, allocations: 0 / 1.334 GB, free: 9.402 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.001707/0.5343, allocations: 387.8 kB / 1.334 GB, free: 9.02 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.5343, allocations: 59.34 kB / 1.334 GB, free: 8.949 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.5345, allocations: 156.3 kB / 1.335 GB, free: 8.789 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.5345, allocations: 33.7 kB / 1.335 GB, free: 8.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.634e-05/0.5346, allocations: 115.9 kB / 1.335 GB, free: 8.633 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.287e-05/0.5347, allocations: 55.53 kB / 1.335 GB, free: 8.578 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.833e-05/0.5348, allocations: 37.7 kB / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.5349, allocations: 330.7 kB / 1.335 GB, free: 8.203 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002336/0.5352, allocations: 87.95 kB / 1.335 GB, free: 8.117 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/0.5354, allocations: 83.91 kB / 1.335 GB, free: 8.035 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004027/0.5358, allocations: 158.3 kB / 1.335 GB, free: 7.879 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.5358, allocations: 0 / 1.335 GB, free: 7.879 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008812/0.5367, allocations: 288.5 kB / 1.336 GB, free: 7.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.5367, allocations: 4 kB / 1.336 GB, free: 7.586 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.5367, allocations: 0 / 1.336 GB, free: 7.586 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005527/0.5372, allocations: 128.7 kB / 1.336 GB, free: 7.457 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/0.5384, allocations: 99.95 kB / 1.336 GB, free: 7.359 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009055/0.5393, allocations: 0.642 MB / 1.337 GB, free: 6.691 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.5394, allocations: 23.92 kB / 1.337 GB, free: 6.668 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.5395, allocations: 4 kB / 1.337 GB, free: 6.664 MB / 1.029 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.0001414/0.5396, allocations: 126.4 kB / 1.337 GB, free: 6.531 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.265e-05/0.5397, allocations: 19.84 kB / 1.337 GB, free: 6.512 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008971/0.5406, allocations: 286.9 kB / 1.337 GB, free: 6.219 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.473e-06/0.5406, allocations: 4 kB / 1.337 GB, free: 6.215 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5406, allocations: 0 / 1.337 GB, free: 6.215 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.5406, allocations: 0 / 1.337 GB, free: 6.215 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/0.5424, allocations: 0.7027 MB / 1.338 GB, free: 5.453 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.5424, allocations: 0 / 1.338 GB, free: 5.453 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/0.5435, allocations: 96.03 kB / 1.338 GB, free: 5.359 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004673/0.544, allocations: 124.9 kB / 1.338 GB, free: 5.234 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.544, allocations: 8 kB / 1.338 GB, free: 5.227 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008325/0.5448, allocations: 0.6342 MB / 1.339 GB, free: 4.566 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.5448, allocations: 0 / 1.339 GB, free: 4.566 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008789/0.5457, allocations: 374.8 kB / 1.339 GB, free: 4.18 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.229e-05/0.5457, allocations: 15.91 kB / 1.339 GB, free: 4.164 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.5458, allocations: 0 / 1.339 GB, free: 4.164 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.546, allocations: 15.98 kB / 1.339 GB, free: 4.148 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.546, allocations: 11.97 kB / 1.339 GB, free: 4.137 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.546, allocations: 8 kB / 1.339 GB, free: 4.129 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001085/0.5461, allocations: 129.2 kB / 1.339 GB, free: 4.004 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.5461, allocations: 0 / 1.339 GB, free: 4.004 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004946/0.5466, allocations: 131.5 kB / 1.339 GB, free: 3.875 MB / 1.029 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.0004633/0.5471, allocations: 222.8 kB / 1.339 GB, free: 3.648 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008745/0.548, allocations: 215.8 kB / 1.34 GB, free: 3.438 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.548, allocations: 8 kB / 1.34 GB, free: 3.43 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005488/0.5485, allocations: 127.7 kB / 1.34 GB, free: 3.305 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004561/0.549, allocations: 52.03 kB / 1.34 GB, free: 3.254 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000785/0.5498, allocations: 329.4 kB / 1.34 GB, free: 2.902 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.5501, allocations: 0.7164 MB / 1.341 GB, free: 2.16 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001016/0.5502, allocations: 25.61 kB / 1.341 GB, free: 2.141 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.839e-05/0.5503, allocations: 15.44 kB / 1.341 GB, free: 2.129 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.5503, allocations: 0 / 1.341 GB, free: 2.129 MB / 1.029 GB Notification: Performance of Templates: time 0.01018/0.5605, allocations: 4.992 MB / 1.346 GB, free: 13.18 MB / 1.045 GB " [Timeout remaining time 299] 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.763166868127882]