Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001856/0.001856, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.002548/0.002548, allocations: 186 kB / 20.78 MB, free: 1.547 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.533/1.533, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.629/2.629, allocations: 443.4 MB / 0.7304 GB, free: 14.09 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 67.89 kB / 1.059 GB, free: 424 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2946, allocations: 160.7 MB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003322/0.298, allocations: 2.056 MB / 1.218 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002643/0.3006, allocations: 1.671 MB / 1.22 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.246e-05/0.3007, allocations: 4 kB / 1.22 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.409e-05/0.3007, allocations: 15.8 kB / 1.22 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.3008, allocations: 55.55 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.3019, allocations: 362.8 kB / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002614/0.3021, allocations: 223 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.3023, allocations: 37.47 kB / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.3024, allocations: 75.84 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.3026, allocations: 95.59 kB / 1.221 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.412e-05/0.3026, allocations: 24 kB / 1.221 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008089/0.3034, allocations: 415.5 kB / 1.221 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.566e-05/0.3035, allocations: 43.89 kB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.3036, allocations: 83.66 kB / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006528/0.3042, allocations: 438.6 kB / 1.222 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.3042, allocations: 0 / 1.222 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3042, allocations: 0 / 1.222 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.3042, allocations: 0 / 1.222 GB, free: 9.785 MB / 0.9669 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.0009834/0.3052, allocations: 0.5218 MB / 1.222 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.3053, allocations: 12.03 kB / 1.222 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005889/0.3059, allocations: 88.73 kB / 1.222 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.306, allocations: 176.2 kB / 1.222 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.602e-05/0.3061, allocations: 50.25 kB / 1.222 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.552e-05/0.3062, allocations: 16.38 kB / 1.222 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000439/0.3066, allocations: 179.2 kB / 1.223 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.3066, allocations: 7.875 kB / 1.223 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.3066, allocations: 8 kB / 1.223 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.3067, allocations: 7.938 kB / 1.223 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004639/0.3071, allocations: 179.9 kB / 1.223 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001474/0.3086, allocations: 0.9151 MB / 1.224 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000497/0.3091, allocations: 166.5 kB / 1.224 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.3093, allocations: 68.83 kB / 1.224 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007424/0.31, allocations: 0.522 MB / 1.224 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.3101, allocations: 30.56 kB / 1.224 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.3101, allocations: 0 / 1.224 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14): time 0.0007497/0.3108, allocations: 237.7 kB / 1.225 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.3109, allocations: 59.34 kB / 1.225 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.311, allocations: 164.3 kB / 1.225 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.311, allocations: 29.7 kB / 1.225 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.214e-05/0.3111, allocations: 119.6 kB / 1.225 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.964e-05/0.3112, allocations: 51.62 kB / 1.225 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.719e-05/0.3113, allocations: 41.66 kB / 1.225 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.3114, allocations: 326.8 kB / 1.225 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.3116, allocations: 71.95 kB / 1.225 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.3118, allocations: 91.39 kB / 1.226 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000373/0.3122, allocations: 155.8 kB / 1.226 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.3122, allocations: 7.938 kB / 1.226 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005005/0.3127, allocations: 213.4 kB / 1.226 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.3127, allocations: 4 kB / 1.226 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3127, allocations: 4 kB / 1.226 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3128, allocations: 0 / 1.226 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000261/0.313, allocations: 43.91 kB / 1.226 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.313, allocations: 4.031 kB / 1.226 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.3132, allocations: 27.81 kB / 1.226 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.3132, allocations: 11.98 kB / 1.226 GB, free: 4.809 MB / 0.9669 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.0001137/0.3133, allocations: 121.8 kB / 1.226 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.3134, allocations: 15.91 kB / 1.226 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000536/0.3139, allocations: 198.4 kB / 1.226 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3139, allocations: 3.984 kB / 1.226 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3139, allocations: 4 kB / 1.226 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3139, allocations: 0 / 1.226 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/0.3155, allocations: 0.9779 MB / 1.227 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3155, allocations: 0 / 1.227 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/0.3157, allocations: 35.91 kB / 1.227 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.3157, allocations: 4 kB / 1.227 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.3157, allocations: 64 / 1.227 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3157, allocations: 4 kB / 1.227 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3157, allocations: 7.938 kB / 1.227 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005179/0.3163, allocations: 285.1 kB / 1.228 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.056e-05/0.3163, allocations: 97 kB / 1.228 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.389e-05/0.3164, allocations: 4 kB / 1.228 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.3166, allocations: 11.98 kB / 1.228 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.3166, allocations: 19.86 kB / 1.228 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.3166, allocations: 8 kB / 1.228 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.993e-05/0.3167, allocations: 116.9 kB / 1.228 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3167, allocations: 0 / 1.228 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004701/0.3172, allocations: 131.5 kB / 1.228 GB, free: 2.574 MB / 0.9669 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.0004308/0.3176, allocations: 226.8 kB / 1.228 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005052/0.3181, allocations: 171.8 kB / 1.228 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3181, allocations: 0 / 1.228 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002005/0.3183, allocations: 71.91 kB / 1.228 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.3188, allocations: 52.41 kB / 1.228 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006749/0.3194, allocations: 328.3 kB / 1.229 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.3198, allocations: 0.7086 MB / 1.229 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001326/0.3199, allocations: 29.17 kB / 1.23 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.266e-05/0.32, allocations: 19.44 kB / 1.23 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of SimCode: time 4.41e-07/0.32, allocations: 0 / 1.23 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of Templates: time 0.008602/0.3286, allocations: 4.377 MB / 1.234 GB, free: 12.59 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.17242780700326]