Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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.001975/0.001975, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002365/0.002365, allocations: 220.5 kB / 23 MB, free: 4.914 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.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.704/2.704, allocations: 476 MB / 0.7707 GB, free: 4.75 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_ZeroInput,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_ZeroInput") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,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_ZeroInput") [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.002089/0.002089, allocations: 71.02 kB / 1.118 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3441, allocations: 170 MB / 1.284 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003887/0.348, allocations: 1.989 MB / 1.286 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002901/0.3509, allocations: 1.529 MB / 1.287 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.3511, allocations: 0 / 1.287 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.237e-05/0.3512, allocations: 19.8 kB / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001659/0.3513, allocations: 47.55 kB / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.3527, allocations: 362.8 kB / 1.288 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003411/0.3531, allocations: 223.1 kB / 1.288 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.3532, allocations: 37.61 kB / 1.288 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.3534, allocations: 79.77 kB / 1.288 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/0.3536, allocations: 75.73 kB / 1.288 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.362e-05/0.3536, allocations: 16 kB / 1.288 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009636/0.3546, allocations: 407.5 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.145e-05/0.3546, allocations: 51.84 kB / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.891e-05/0.3547, allocations: 67.78 kB / 1.289 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008295/0.3556, allocations: 446.6 kB / 1.289 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.3556, allocations: 0 / 1.289 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3556, allocations: 0 / 1.289 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.3556, allocations: 0 / 1.289 GB, free: 6.598 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.0009922/0.3566, allocations: 457.2 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3566, allocations: 8.031 kB / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006115/0.3572, allocations: 96.67 kB / 1.29 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.3574, allocations: 122.3 kB / 1.29 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001166/0.3575, allocations: 83.95 kB / 1.29 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.022e-05/0.3576, allocations: 12.38 kB / 1.29 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005062/0.3581, allocations: 241.4 kB / 1.29 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.3581, allocations: 3.938 kB / 1.29 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.756e-05/0.3581, allocations: 11.94 kB / 1.29 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.3581, allocations: 0 / 1.29 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003219/0.3584, allocations: 131.9 kB / 1.29 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00146/0.3599, allocations: 0.6026 MB / 1.291 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001976/0.3619, allocations: 318.3 kB / 1.291 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.3621, allocations: 80.81 kB / 1.291 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004468/0.3625, allocations: 72.14 kB / 1.291 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.3626, allocations: 34.56 kB / 1.291 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/0.3626, allocations: 0 / 1.291 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.001645/0.3642, allocations: 397.6 kB / 1.292 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.3643, allocations: 51.41 kB / 1.292 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.3644, allocations: 135.5 kB / 1.292 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.3644, allocations: 25.7 kB / 1.292 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.415e-05/0.3645, allocations: 120.3 kB / 1.292 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.449e-05/0.3646, allocations: 55.52 kB / 1.292 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.785e-05/0.3647, allocations: 41.7 kB / 1.292 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3648, allocations: 318.8 kB / 1.292 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.365, allocations: 83.89 kB / 1.292 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/0.3653, allocations: 93.97 kB / 1.292 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000418/0.3657, allocations: 152.8 kB / 1.293 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.3657, allocations: 0 / 1.293 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0009093/0.3666, allocations: 288.5 kB / 1.293 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.3666, allocations: 4 kB / 1.293 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.3666, allocations: 3.938 kB / 1.293 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000607/0.3672, allocations: 122.4 kB / 1.293 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.3684, allocations: 99.95 kB / 1.293 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009112/0.3693, allocations: 0.6381 MB / 1.294 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.3695, allocations: 23.92 kB / 1.294 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/0.3696, allocations: 7.984 kB / 1.294 GB, free: 1.508 MB / 0.9825 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.0001496/0.3697, allocations: 121.8 kB / 1.294 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.846e-05/0.3698, allocations: 11.89 kB / 1.294 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009213/0.3707, allocations: 290.2 kB / 1.294 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.3707, allocations: 4 kB / 1.294 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3707, allocations: 0 / 1.294 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3707, allocations: 0 / 1.294 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/0.3725, allocations: 0.6527 MB / 1.295 GB, free: 384 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.3725, allocations: 0 / 1.295 GB, free: 384 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/0.3737, allocations: 95.89 kB / 1.295 GB, free: 288 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005091/0.3742, allocations: 125.4 kB / 1.295 GB, free: 160 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.3742, allocations: 0 / 1.295 GB, free: 160 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008856/0.3751, allocations: 0.6305 MB / 1.296 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.3751, allocations: 3.938 kB / 1.296 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000922/0.376, allocations: 369 kB / 1.296 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.21e-05/0.3761, allocations: 19.81 kB / 1.296 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.3761, allocations: 4 kB / 1.296 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.3763, allocations: 23.97 kB / 1.296 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.3764, allocations: 11.92 kB / 1.296 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.3764, allocations: 4 kB / 1.296 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.048e-05/0.3765, allocations: 101 kB / 1.296 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3765, allocations: 0 / 1.296 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005306/0.377, allocations: 131.6 kB / 1.296 GB, free: 14.82 MB / 0.9981 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.0005387/0.3775, allocations: 234.6 kB / 1.296 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000954/0.3785, allocations: 231.7 kB / 1.297 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3785, allocations: 0 / 1.297 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006046/0.3791, allocations: 123.8 kB / 1.297 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/0.3795, allocations: 32.03 kB / 1.297 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009661/0.3805, allocations: 373.6 kB / 1.297 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001142/0.3806, allocations: 94.77 kB / 1.297 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.866e-05/0.3807, allocations: 19.44 kB / 1.297 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of SimCode: time 1.062e-06/0.3807, allocations: 4 kB / 1.297 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of Templates: time 0.008722/0.3894, allocations: 4.205 MB / 1.301 GB, free: 9.488 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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: 11.909515650011599]