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.001218/0.001218, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001364/0.001364, allocations: 218.6 kB / 23.01 MB, free: 4.609 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.324/1.324, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 179] 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 2.899/2.899, allocations: 0.49 GB / 0.7958 GB, free: 33.53 MB / 0.6231 GB " [Timeout remaining time 177] 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.002159/0.002159, allocations: 67.03 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.303, allocations: 176.1 MB / 1.327 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003254/0.3062, allocations: 2.07 MB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002445/0.3087, allocations: 1.69 MB / 1.331 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.365e-05/0.3087, allocations: 4 kB / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.487e-05/0.3088, allocations: 19.78 kB / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.3089, allocations: 55.55 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009645/0.3099, allocations: 365.8 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.3101, allocations: 219.1 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.3102, allocations: 41.59 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.3103, allocations: 79.78 kB / 1.332 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.3105, allocations: 87.67 kB / 1.332 GB, free: 12.81 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.982e-05/0.3105, allocations: 24 kB / 1.332 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007752/0.3113, allocations: 427.5 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.984e-05/0.3113, allocations: 39.91 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.662e-05/0.3114, allocations: 91.64 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005699/0.312, allocations: 426.6 kB / 1.333 GB, free: 11.82 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.312, allocations: 4 kB / 1.333 GB, free: 11.82 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.203e-06/0.312, allocations: 0 / 1.333 GB, free: 11.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.312, allocations: 0 / 1.333 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.0007812/0.3128, allocations: 462.7 kB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.3128, allocations: 8.031 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005389/0.3134, allocations: 92.73 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.3135, allocations: 122.3 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.115e-05/0.3136, allocations: 75.95 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.293e-05/0.3136, allocations: 16.38 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004032/0.314, allocations: 194 kB / 1.334 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.314, allocations: 11.88 kB / 1.334 GB, free: 10.78 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.314, allocations: 4 kB / 1.334 GB, free: 10.78 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.314, allocations: 4 kB / 1.334 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002929/0.3143, allocations: 131.9 kB / 1.334 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.3157, allocations: 0.6763 MB / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00188/0.3176, allocations: 326.2 kB / 1.335 GB, free: 9.594 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.3178, allocations: 80.81 kB / 1.335 GB, free: 9.512 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004408/0.3182, allocations: 71.84 kB / 1.335 GB, free: 9.441 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.3182, allocations: 42.55 kB / 1.335 GB, free: 9.391 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.3182, allocations: 0 / 1.335 GB, free: 9.391 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.001571/0.3198, allocations: 385.5 kB / 1.335 GB, free: 9.008 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.3198, allocations: 59.28 kB / 1.335 GB, free: 8.938 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.32, allocations: 156.3 kB / 1.335 GB, free: 8.777 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.32, allocations: 29.7 kB / 1.335 GB, free: 8.742 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.672e-05/0.3201, allocations: 119.9 kB / 1.336 GB, free: 8.621 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.81e-05/0.3201, allocations: 55.53 kB / 1.336 GB, free: 8.566 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.029e-05/0.3202, allocations: 33.7 kB / 1.336 GB, free: 8.527 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.3204, allocations: 334.8 kB / 1.336 GB, free: 8.191 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/0.3206, allocations: 79.95 kB / 1.336 GB, free: 8.113 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.3208, allocations: 83.91 kB / 1.336 GB, free: 8.031 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003701/0.3211, allocations: 146 kB / 1.336 GB, free: 7.887 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3211, allocations: 4 kB / 1.336 GB, free: 7.883 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008495/0.322, allocations: 291.8 kB / 1.337 GB, free: 7.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.322, allocations: 8 kB / 1.337 GB, free: 7.582 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.322, allocations: 4 kB / 1.337 GB, free: 7.578 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000548/0.3225, allocations: 122.9 kB / 1.337 GB, free: 7.457 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.3236, allocations: 104 kB / 1.337 GB, free: 7.355 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008204/0.3244, allocations: 0.638 MB / 1.337 GB, free: 6.691 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.3246, allocations: 31.91 kB / 1.337 GB, free: 6.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.3246, allocations: 12 kB / 1.337 GB, free: 6.648 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.0001246/0.3248, allocations: 118.4 kB / 1.338 GB, free: 6.523 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.142e-05/0.3248, allocations: 19.84 kB / 1.338 GB, free: 6.504 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008315/0.3257, allocations: 283 kB / 1.338 GB, free: 6.215 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.3257, allocations: 4 kB / 1.338 GB, free: 6.211 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3257, allocations: 0 / 1.338 GB, free: 6.211 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3257, allocations: 3.984 kB / 1.338 GB, free: 6.207 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001754/0.3274, allocations: 0.7027 MB / 1.339 GB, free: 5.445 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3274, allocations: 0 / 1.339 GB, free: 5.445 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/0.3285, allocations: 104 kB / 1.339 GB, free: 5.344 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004453/0.3289, allocations: 112.8 kB / 1.339 GB, free: 5.23 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.329, allocations: 11.98 kB / 1.339 GB, free: 5.219 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007705/0.3297, allocations: 0.6342 MB / 1.339 GB, free: 4.559 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.3297, allocations: 7.938 kB / 1.339 GB, free: 4.551 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008449/0.3306, allocations: 357.8 kB / 1.34 GB, free: 4.176 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.845e-05/0.3306, allocations: 15.89 kB / 1.34 GB, free: 4.16 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/0.3306, allocations: 8 kB / 1.34 GB, free: 4.152 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.3309, allocations: 15.98 kB / 1.34 GB, free: 4.137 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.3309, allocations: 11.98 kB / 1.34 GB, free: 4.125 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.3309, allocations: 7.984 kB / 1.34 GB, free: 4.117 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.377e-05/0.331, allocations: 117.1 kB / 1.34 GB, free: 4.004 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.331, allocations: 0 / 1.34 GB, free: 4.004 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004475/0.3315, allocations: 139.5 kB / 1.34 GB, free: 3.867 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.0003976/0.3319, allocations: 222.8 kB / 1.34 GB, free: 3.641 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000837/0.3327, allocations: 219.8 kB / 1.34 GB, free: 3.426 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3327, allocations: 0 / 1.34 GB, free: 3.426 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005459/0.3332, allocations: 131.8 kB / 1.341 GB, free: 3.297 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.3336, allocations: 48.03 kB / 1.341 GB, free: 3.254 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007424/0.3344, allocations: 370.1 kB / 1.341 GB, free: 2.863 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.3347, allocations: 0.7125 MB / 1.342 GB, free: 2.125 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.849e-05/0.3347, allocations: 19.42 kB / 1.342 GB, free: 2.109 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.3347, allocations: 0 / 1.342 GB, free: 2.109 MB / 1.029 GB Notification: Performance of Templates: time 0.00697/0.3417, allocations: 4.413 MB / 1.346 GB, free: 13.72 MB / 1.045 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=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/jenkins1/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: 10.816121529001975]