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.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.001662/0.001662, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001967/0.001967, allocations: 199.5 kB / 22.17 MB, free: 5.211 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.424/1.424, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.857/2.857, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 63.91 kB / 1.109 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7152/0.7172, allocations: 168.7 MB / 1.274 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003422/0.7206, allocations: 2.061 MB / 1.276 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002537/0.7232, allocations: 1.682 MB / 1.278 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.575e-05/0.7232, allocations: 0 / 1.278 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.321e-05/0.7233, allocations: 23.78 kB / 1.278 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.7234, allocations: 47.55 kB / 1.278 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009278/0.7243, allocations: 354.8 kB / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002653/0.7246, allocations: 227.1 kB / 1.278 GB, free: 144 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.7247, allocations: 29.48 kB / 1.278 GB, free: 112 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.7248, allocations: 87.75 kB / 1.278 GB, free: 24 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.725, allocations: 87.86 kB / 1.279 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.176e-05/0.725, allocations: 16 kB / 1.279 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008016/0.7258, allocations: 419.4 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.197e-05/0.7259, allocations: 39.84 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.079e-05/0.726, allocations: 91.66 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005916/0.7266, allocations: 425.4 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.7266, allocations: 0 / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7266, allocations: 0 / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.7266, allocations: 3.938 kB / 1.279 GB, free: 14.96 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.0008702/0.7274, allocations: 0.5256 MB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.7275, allocations: 16.03 kB / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006083/0.7281, allocations: 92.67 kB / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.7282, allocations: 184.2 kB / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.861e-05/0.7283, allocations: 46.27 kB / 1.28 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.145e-05/0.7284, allocations: 20.38 kB / 1.28 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004523/0.7288, allocations: 182 kB / 1.28 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.7288, allocations: 3.938 kB / 1.281 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.7289, allocations: 8 kB / 1.281 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.7289, allocations: 0 / 1.281 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005064/0.7294, allocations: 187.9 kB / 1.281 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00157/0.7309, allocations: 0.9074 MB / 1.282 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005368/0.7315, allocations: 158.5 kB / 1.282 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.7317, allocations: 68.81 kB / 1.282 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007286/0.7324, allocations: 0.522 MB / 1.282 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.7324, allocations: 38.56 kB / 1.282 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.7324, allocations: 3.938 kB / 1.282 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0007362/0.7332, allocations: 233.8 kB / 1.283 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.7332, allocations: 51.41 kB / 1.283 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.7334, allocations: 171.6 kB / 1.283 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.7334, allocations: 29.7 kB / 1.283 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.3e-05/0.7335, allocations: 119.9 kB / 1.283 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.519e-05/0.7335, allocations: 47.59 kB / 1.283 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.25e-05/0.7336, allocations: 33.7 kB / 1.283 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.7338, allocations: 326.8 kB / 1.283 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.734, allocations: 71.95 kB / 1.283 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002316/0.7342, allocations: 97.67 kB / 1.283 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004031/0.7346, allocations: 147.7 kB / 1.284 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.7346, allocations: 3.938 kB / 1.284 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005327/0.7352, allocations: 223.8 kB / 1.284 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.7352, allocations: 8 kB / 1.284 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.7352, allocations: 0 / 1.284 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.7352, allocations: 0 / 1.284 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/0.7354, allocations: 35.97 kB / 1.284 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.7355, allocations: 4 kB / 1.284 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.7356, allocations: 27.81 kB / 1.284 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.7357, allocations: 4 kB / 1.284 GB, free: 9.992 MB / 0.9825 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.0001254/0.7358, allocations: 129.8 kB / 1.284 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.963e-05/0.7358, allocations: 15.91 kB / 1.284 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000546/0.7364, allocations: 195.5 kB / 1.284 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.7364, allocations: 4 kB / 1.284 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.7364, allocations: 4 kB / 1.284 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.7364, allocations: 0 / 1.284 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/0.7379, allocations: 0.9856 MB / 1.285 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.7379, allocations: 0 / 1.285 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.7382, allocations: 27.98 kB / 1.285 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.7382, allocations: 3.984 kB / 1.285 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.7382, allocations: 4 kB / 1.285 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.7382, allocations: 4 kB / 1.285 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7382, allocations: 0 / 1.285 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005422/0.7387, allocations: 300.5 kB / 1.286 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.105e-05/0.7388, allocations: 92.95 kB / 1.286 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/0.7388, allocations: 8 kB / 1.286 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/0.7391, allocations: 19.97 kB / 1.286 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.7391, allocations: 15.92 kB / 1.286 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.7391, allocations: 4 kB / 1.286 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.568e-05/0.7392, allocations: 125.1 kB / 1.286 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.7392, allocations: 0 / 1.286 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004427/0.7397, allocations: 123.6 kB / 1.286 GB, free: 7.742 MB / 0.9825 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.0004348/0.7401, allocations: 235.2 kB / 1.286 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000494/0.7406, allocations: 155.9 kB / 1.286 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.7406, allocations: 8.062 kB / 1.286 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002222/0.7408, allocations: 75.89 kB / 1.286 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.7412, allocations: 34.33 kB / 1.286 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006725/0.7419, allocations: 340.4 kB / 1.287 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.7422, allocations: 0.7125 MB / 1.287 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001356/0.7424, allocations: 28.16 kB / 1.287 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.768e-05/0.7424, allocations: 19.42 kB / 1.287 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.7424, allocations: 4 kB / 1.287 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of Templates: time 0.008678/0.7511, allocations: 4.364 MB / 1.292 GB, free: 1.762 MB / 0.9825 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.46445569396019]