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.0007209/0.0007209, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001075/0.001795, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007003/0.0007003, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009615/0.001662, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.8915/0.8915, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07856/0.97, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.802/1.802, allocations: 378.4 MB / 0.6079 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4601/2.263, allocations: 123.3 MB / 0.7283 GB, free: 5.699 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.7297 GB, free: 4.383 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.484e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.379 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.00394/0.003965, allocations: 2.151 MB / 0.7318 GB, free: 2.258 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002661/0.006626, allocations: 1.477 MB / 0.7332 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.219e-05/0.006718, allocations: 0 / 0.7332 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.583e-05/0.006794, allocations: 23.78 kB / 0.7332 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.006918, allocations: 47.92 kB / 0.7333 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.008018, allocations: 325.1 kB / 0.7336 GB, free: 432 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002852/0.008304, allocations: 223 kB / 0.7338 GB, free: 208 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.008446, allocations: 46.78 kB / 0.7338 GB, free: 156 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.008648, allocations: 133.3 kB / 0.734 GB, free: 24 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.008824, allocations: 67.84 kB / 0.734 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.458e-05/0.008858, allocations: 16 kB / 0.734 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008196/0.009678, allocations: 385 kB / 0.7344 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.724e-05/0.009725, allocations: 31.94 kB / 0.7344 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.796e-05/0.009793, allocations: 59.88 kB / 0.7345 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005908/0.01038, allocations: 339 kB / 0.7348 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.08e-05/0.01039, allocations: 0.6562 kB / 0.7348 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.222e-06/0.0104, allocations: 0 / 0.7348 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.677e-05/0.01041, allocations: 5.312 kB / 0.7348 GB, free: 15.14 MB / 0.7136 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.0008172/0.01123, allocations: 489.1 kB / 0.7353 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.01127, allocations: 8.031 kB / 0.7353 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004075/0.01168, allocations: 147.2 kB / 0.7354 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.01179, allocations: 121.6 kB / 0.7356 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.981e-05/0.01188, allocations: 80.47 kB / 0.7356 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.372e-05/0.01192, allocations: 16.38 kB / 0.7356 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003075/0.01222, allocations: 200.8 kB / 0.7358 GB, free: 14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.01223, allocations: 192 / 0.7358 GB, free: 14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.01225, allocations: 5.344 kB / 0.7358 GB, free: 14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.01226, allocations: 12.06 kB / 0.7359 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.01238, allocations: 53.8 kB / 0.7359 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009917/0.01337, allocations: 443.5 kB / 0.7363 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009182/0.01429, allocations: 194.9 kB / 0.7365 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.065e-05/0.01437, allocations: 32.86 kB / 0.7365 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002983/0.01466, allocations: 66.09 kB / 0.7366 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.0147, allocations: 38.5 kB / 0.7366 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.01471, allocations: 0.75 kB / 0.7366 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0008309/0.01554, allocations: 204.4 kB / 0.7368 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.01557, allocations: 51.41 kB / 0.7369 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.358e-05/0.01566, allocations: 130.6 kB / 0.737 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.01569, allocations: 31.05 kB / 0.737 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.903e-05/0.01576, allocations: 124.3 kB / 0.7372 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.588e-05/0.0158, allocations: 59.52 kB / 0.7372 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.318e-05/0.01588, allocations: 42.14 kB / 0.7373 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.78e-05/0.01598, allocations: 322.8 kB / 0.7376 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.039e-05/0.01605, allocations: 29.45 kB / 0.7376 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.835e-05/0.01611, allocations: 30.23 kB / 0.7376 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.01625, allocations: 76.78 kB / 0.7377 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.01626, allocations: 3.25 kB / 0.7377 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003894/0.01665, allocations: 156.2 kB / 0.7379 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.01667, allocations: 8 kB / 0.7379 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.01667, allocations: 0 / 0.7379 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003704/0.01704, allocations: 84.03 kB / 0.7379 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008994/0.01794, allocations: 123.5 kB / 0.7381 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005038/0.01845, allocations: 0.5553 MB / 0.7386 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.01856, allocations: 23.88 kB / 0.7386 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.01857, allocations: 3.984 kB / 0.7386 GB, free: 11.05 MB / 0.7136 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 9.913e-05/0.01867, allocations: 123.3 kB / 0.7387 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.497e-05/0.01871, allocations: 11.98 kB / 0.7388 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004417/0.01916, allocations: 153.2 kB / 0.7389 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.01916, allocations: 0 / 0.7389 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.01916, allocations: 4 kB / 0.7389 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.01917, allocations: 7.875 kB / 0.7389 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.02028, allocations: 444.5 kB / 0.7393 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.02028, allocations: 0 / 0.7393 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004861/0.02077, allocations: 112 kB / 0.7394 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.256e-05/0.02078, allocations: 14.64 kB / 0.7395 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001948/0.02097, allocations: 81.5 kB / 0.7395 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.02098, allocations: 4 kB / 0.7395 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002933/0.02128, allocations: 0.5562 MB / 0.7401 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.02128, allocations: 0 / 0.7401 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.02151, allocations: 245.5 kB / 0.7403 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.02153, allocations: 9.5 kB / 0.7403 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.211e-05/0.0216, allocations: 7.984 kB / 0.7403 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.576e-05/0.02163, allocations: 15.92 kB / 0.7403 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.02164, allocations: 7.984 kB / 0.7404 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.888e-05/0.02166, allocations: 19.81 kB / 0.7404 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.02166, allocations: 0 / 0.7404 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002961/0.02195, allocations: 131.5 kB / 0.7405 GB, free: 9.047 MB / 0.7136 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.0003237/0.02228, allocations: 232.5 kB / 0.7407 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002615/0.02254, allocations: 122.7 kB / 0.7408 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.02255, allocations: 8 kB / 0.7408 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.0227, allocations: 98.28 kB / 0.7409 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.02296, allocations: 237.6 kB / 0.7412 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.0252, allocations: 313.1 kB / 0.7415 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.677e-05/0.02524, allocations: 69.2 kB / 0.7415 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.242e-05/0.0253, allocations: 18.73 kB / 0.7415 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.964e-05/0.0254, allocations: 83.34 kB / 0.7416 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of SimCode: time 1.072e-06/0.0254, allocations: 0 / 0.7416 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of Templates: time 0.006421/0.03183, allocations: 5.005 MB / 0.7465 GB, free: 2.961 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.7116384180262685]