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.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.001669/0.001669, 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.002056/0.002056, allocations: 221.1 kB / 23 MB, free: 4.918 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.722/2.722, allocations: 476 MB / 0.7707 GB, free: 4.762 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,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: 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.002103/0.002103, allocations: 66.67 kB / 1.118 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3548, allocations: 170 MB / 1.284 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003714/0.3585, allocations: 1.978 MB / 1.286 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002736/0.3612, allocations: 1.53 MB / 1.287 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.645e-05/0.3613, allocations: 0 / 1.287 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.082e-05/0.3614, allocations: 19.8 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.3615, allocations: 47.55 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.3626, allocations: 356.5 kB / 1.288 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002838/0.3629, allocations: 223.1 kB / 1.288 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.3631, allocations: 33.61 kB / 1.288 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.3632, allocations: 91.7 kB / 1.288 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.3633, allocations: 75.67 kB / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.343e-05/0.3634, allocations: 20 kB / 1.288 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008196/0.3642, allocations: 407.5 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.615e-05/0.3642, allocations: 35.91 kB / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.956e-05/0.3643, allocations: 83.72 kB / 1.289 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006509/0.365, allocations: 434.7 kB / 1.289 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.365, allocations: 0 / 1.289 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/0.365, allocations: 0 / 1.289 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.365, allocations: 0 / 1.289 GB, free: 6.609 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.0008849/0.3659, allocations: 461.1 kB / 1.289 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.3659, allocations: 8.031 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005611/0.3665, allocations: 92.75 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.3667, allocations: 126.3 kB / 1.29 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.3668, allocations: 79.89 kB / 1.29 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.679e-05/0.3668, allocations: 20.38 kB / 1.29 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004805/0.3673, allocations: 249.3 kB / 1.29 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.3673, allocations: 3.938 kB / 1.29 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.3673, allocations: 4 kB / 1.29 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.3673, allocations: 4 kB / 1.29 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003087/0.3676, allocations: 123.9 kB / 1.29 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/0.369, allocations: 0.6104 MB / 1.291 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001987/0.371, allocations: 312.8 kB / 1.291 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.3712, allocations: 84.81 kB / 1.291 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004356/0.3717, allocations: 72.14 kB / 1.291 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.3717, allocations: 38.56 kB / 1.291 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.3717, allocations: 0 / 1.291 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.001672/0.3734, allocations: 387.2 kB / 1.292 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.3734, allocations: 59.41 kB / 1.292 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.3735, allocations: 127.6 kB / 1.292 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.3736, allocations: 33.69 kB / 1.292 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.877e-05/0.3737, allocations: 116.3 kB / 1.292 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.361e-05/0.3737, allocations: 59.52 kB / 1.292 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-05/0.3738, allocations: 33.7 kB / 1.292 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.374, allocations: 322.8 kB / 1.292 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.3742, allocations: 79.95 kB / 1.292 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/0.3744, allocations: 97.22 kB / 1.292 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004107/0.3748, allocations: 154.8 kB / 1.293 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3748, allocations: 0 / 1.293 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008933/0.3757, allocations: 286.3 kB / 1.293 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.3757, allocations: 8 kB / 1.293 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3757, allocations: 3.938 kB / 1.293 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005806/0.3763, allocations: 129.2 kB / 1.293 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.3775, allocations: 99.95 kB / 1.293 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009273/0.3785, allocations: 0.6303 MB / 1.294 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.3786, allocations: 23.92 kB / 1.294 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.3787, allocations: 11.98 kB / 1.294 GB, free: 1.504 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.0001358/0.3788, allocations: 123.2 kB / 1.294 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.527e-05/0.3788, allocations: 15.94 kB / 1.294 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008974/0.3797, allocations: 285.5 kB / 1.294 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.3797, allocations: 0 / 1.294 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3797, allocations: 0 / 1.294 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3797, allocations: 4 kB / 1.294 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001776/0.3815, allocations: 0.6402 MB / 1.295 GB, free: 392 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3815, allocations: 64 / 1.295 GB, free: 392 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/0.3827, allocations: 107.9 kB / 1.295 GB, free: 284 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000506/0.3832, allocations: 116.8 kB / 1.295 GB, free: 164 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.3832, allocations: 4 kB / 1.295 GB, free: 160 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009098/0.3841, allocations: 0.642 MB / 1.296 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.3841, allocations: 0 / 1.296 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009433/0.3851, allocations: 364.7 kB / 1.296 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.676e-05/0.3851, allocations: 15.83 kB / 1.296 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.265e-05/0.3851, allocations: 4 kB / 1.296 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.3854, allocations: 15.98 kB / 1.296 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.3854, allocations: 19.97 kB / 1.296 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.3854, allocations: 7.938 kB / 1.296 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.702e-05/0.3855, allocations: 103.2 kB / 1.296 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3855, allocations: 0 / 1.296 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005/0.386, 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.0004476/0.3865, allocations: 230.7 kB / 1.296 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009246/0.3874, allocations: 226 kB / 1.297 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.3874, allocations: 4 kB / 1.297 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000581/0.388, allocations: 126.2 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.0003978/0.3884, allocations: 34.23 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.0008293/0.3892, allocations: 351.2 kB / 1.297 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.3893, allocations: 90.78 kB / 1.297 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.901e-05/0.3894, allocations: 27.42 kB / 1.297 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of SimCode: time 4.41e-07/0.3894, allocations: 0 / 1.297 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of Templates: time 0.007519/0.3969, allocations: 4.191 MB / 1.301 GB, free: 9.516 MB / 0.9981 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 -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/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: 11.803839328233153]