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.000801/0.000801, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001087/0.001888, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007166/0.0007166, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008958/0.001612, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9089/0.9089, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08481/0.9937, allocations: 53.64 MB / 243.3 MB, free: 15.59 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.809/1.809, allocations: 378.2 MB / 0.6076 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4139/2.223, allocations: 123.3 MB / 0.728 GB, free: 5.824 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.142e-06/1.142e-06, allocations: 0 / 0.7293 GB, free: 4.527 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.66e-05/1.774e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.52 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002504/0.002521, allocations: 2.137 MB / 0.7314 GB, free: 2.402 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001529/0.00405, allocations: 1.483 MB / 0.7329 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.804e-05/0.004098, allocations: 0 / 0.7329 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.34e-05/0.004141, allocations: 24.78 kB / 0.7329 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.015e-05/0.004202, allocations: 44.06 kB / 0.7329 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006707/0.004872, allocations: 324.9 kB / 0.7332 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.005047, allocations: 231 kB / 0.7335 GB, free: 344 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.977e-05/0.005147, allocations: 43.03 kB / 0.7335 GB, free: 300 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.005266, allocations: 127.8 kB / 0.7336 GB, free: 172 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.005367, allocations: 81.08 kB / 0.7337 GB, free: 92 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/0.005394, allocations: 16 kB / 0.7337 GB, free: 76 kB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005367/0.005931, allocations: 377.1 kB / 0.7341 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.403e-05/0.005965, allocations: 27.94 kB / 0.7341 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.865e-05/0.006034, allocations: 51.94 kB / 0.7342 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004148/0.006449, allocations: 343 kB / 0.7345 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.758e-06/0.006458, allocations: 1.281 kB / 0.7345 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.41e-07/0.006459, allocations: 0 / 0.7345 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.006471, allocations: 0 / 0.7345 GB, free: 15.29 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.0005338/0.007004, allocations: 493.2 kB / 0.735 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.731e-05/0.007032, allocations: 12.02 kB / 0.735 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002531/0.007285, allocations: 147.6 kB / 0.7351 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.007386, allocations: 129.5 kB / 0.7352 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.345e-05/0.00745, allocations: 84.28 kB / 0.7353 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.00747, allocations: 17.53 kB / 0.7353 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.007683, allocations: 195.7 kB / 0.7355 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.007691, allocations: 0.9688 kB / 0.7355 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.007705, allocations: 4.375 kB / 0.7355 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.007712, allocations: 9.344 kB / 0.7355 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.165e-05/0.007783, allocations: 57.14 kB / 0.7356 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006902/0.008474, allocations: 448.1 kB / 0.736 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005637/0.009037, allocations: 189.9 kB / 0.7362 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.332e-05/0.009081, allocations: 34.7 kB / 0.7362 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001741/0.009255, allocations: 61.56 kB / 0.7363 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.009273, allocations: 34.56 kB / 0.7363 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.372e-06/0.009274, allocations: 0 / 0.7363 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0005088/0.009783, allocations: 208.7 kB / 0.7365 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/0.009807, allocations: 52.38 kB / 0.7366 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.36e-05/0.00987, allocations: 122.7 kB / 0.7367 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.009892, allocations: 33.7 kB / 0.7367 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.01001, allocations: 127.5 kB / 0.7368 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.01004, allocations: 55.52 kB / 0.7369 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.723e-05/0.01008, allocations: 45.58 kB / 0.7369 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.426e-05/0.01015, allocations: 322.8 kB / 0.7372 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.837e-05/0.01019, allocations: 27.98 kB / 0.7373 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.734e-05/0.01022, allocations: 30.06 kB / 0.7373 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.171e-05/0.01031, allocations: 82.67 kB / 0.7374 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.01032, allocations: 0 / 0.7374 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002229/0.01054, allocations: 157.3 kB / 0.7375 GB, free: 12 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.01055, allocations: 4 kB / 0.7375 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.01055, allocations: 0 / 0.7375 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002135/0.01077, allocations: 83.33 kB / 0.7376 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000526/0.01129, allocations: 122.8 kB / 0.7377 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002658/0.01156, allocations: 0.5464 MB / 0.7383 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.07e-05/0.01162, allocations: 15.89 kB / 0.7383 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.01163, allocations: 7.984 kB / 0.7383 GB, free: 11.2 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 6.449e-05/0.01169, allocations: 119.4 kB / 0.7384 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.01172, allocations: 15.98 kB / 0.7384 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003831/0.0121, allocations: 160.8 kB / 0.7386 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.01211, allocations: 0 / 0.7386 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.01211, allocations: 0 / 0.7386 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.01211, allocations: 7.938 kB / 0.7386 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005857/0.0127, allocations: 432.4 kB / 0.739 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.0127, allocations: 5.281 kB / 0.739 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000501/0.0132, allocations: 111.1 kB / 0.7391 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.098e-05/0.01321, allocations: 12.52 kB / 0.7391 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001775/0.01339, allocations: 87.7 kB / 0.7392 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.0134, allocations: 0 / 0.7392 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002358/0.01364, allocations: 0.5496 MB / 0.7397 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.01364, allocations: 1.406 kB / 0.7397 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.01387, allocations: 251.5 kB / 0.74 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.01389, allocations: 0 / 0.74 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.194e-05/0.01396, allocations: 11.98 kB / 0.74 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.174e-05/0.01398, allocations: 14.67 kB / 0.74 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.01399, allocations: 11.98 kB / 0.74 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.571e-05/0.01401, allocations: 20.8 kB / 0.74 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.01401, allocations: 0 / 0.74 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002635/0.01427, allocations: 139.5 kB / 0.7402 GB, free: 9.199 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.0002668/0.01454, allocations: 223.2 kB / 0.7404 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002552/0.01479, allocations: 124.3 kB / 0.7405 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.0148, allocations: 4 kB / 0.7405 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.01494, allocations: 81.75 kB / 0.7406 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001754/0.01511, allocations: 53.61 kB / 0.7406 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.01733, allocations: 316.9 kB / 0.7409 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.612e-05/0.01736, allocations: 71.7 kB / 0.741 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.15e-05/0.01743, allocations: 20.92 kB / 0.741 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.207e-05/0.01752, allocations: 80.25 kB / 0.7411 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of SimCode: time 7.61e-07/0.01752, allocations: 0 / 0.7411 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of Templates: time 0.006088/0.02361, allocations: 5.155 MB / 0.7461 GB, free: 3.207 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.653450530953705]