Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.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.001352/0.001352, 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.00148/0.00148, allocations: 225 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.282/3.282, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ScrollCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") [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.002061/0.002061, allocations: 71.56 kB / 1.187 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.37, allocations: 181.9 MB / 1.365 GB, free: 13.65 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003517/0.3735, allocations: 2.008 MB / 1.367 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002671/0.3762, allocations: 1.515 MB / 1.368 GB, free: 10.1 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.34e-05/0.3763, allocations: 0 / 1.368 GB, free: 10.1 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 7.344e-05/0.3763, allocations: 23.78 kB / 1.368 GB, free: 10.08 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.3764, allocations: 51.55 kB / 1.368 GB, free: 10.03 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.3776, allocations: 362.8 kB / 1.368 GB, free: 9.672 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002651/0.3778, allocations: 231.1 kB / 1.369 GB, free: 9.445 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.378, allocations: 37.66 kB / 1.369 GB, free: 9.406 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.3781, allocations: 83.78 kB / 1.369 GB, free: 9.324 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.3782, allocations: 79.66 kB / 1.369 GB, free: 9.246 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.3783, allocations: 24 kB / 1.369 GB, free: 9.223 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008127/0.3791, allocations: 403.5 kB / 1.369 GB, free: 8.828 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.854e-05/0.3791, allocations: 43.91 kB / 1.369 GB, free: 8.785 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.287e-05/0.3792, allocations: 83.7 kB / 1.369 GB, free: 8.703 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006494/0.3799, allocations: 438.6 kB / 1.37 GB, free: 8.273 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3799, allocations: 0 / 1.37 GB, free: 8.273 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3799, allocations: 0 / 1.37 GB, free: 8.273 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.3799, allocations: 0 / 1.37 GB, free: 8.273 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0009239/0.3808, allocations: 466.5 kB / 1.37 GB, free: 7.785 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.3809, allocations: 8.031 kB / 1.37 GB, free: 7.777 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003468/0.3843, allocations: 368.3 kB / 1.371 GB, free: 7.418 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.3845, allocations: 134.2 kB / 1.371 GB, free: 7.262 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/0.3846, allocations: 75.94 kB / 1.371 GB, free: 7.176 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.655e-05/0.3847, allocations: 24.38 kB / 1.371 GB, free: 7.152 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/0.3863, allocations: 421 kB / 1.371 GB, free: 6.723 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.3863, allocations: 3.938 kB / 1.371 GB, free: 6.719 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.029e-05/0.3864, allocations: 8 kB / 1.371 GB, free: 6.711 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.3864, allocations: 4 kB / 1.371 GB, free: 6.707 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002323/0.3887, allocations: 407.3 kB / 1.372 GB, free: 6.309 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001807/0.3905, allocations: 0.8122 MB / 1.372 GB, free: 5.461 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003861/0.3944, allocations: 0.5567 MB / 1.373 GB, free: 4.895 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001274/0.3957, allocations: 228.7 kB / 1.373 GB, free: 4.668 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001251/0.3958, allocations: 23.91 kB / 1.373 GB, free: 4.645 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.3958, allocations: 34.56 kB / 1.373 GB, free: 4.602 MB / 1.061 GB Notification: Performance of pre-optimization done (n=17): time 2.746e-06/0.3958, allocations: 3.938 kB / 1.373 GB, free: 4.598 MB / 1.061 GB Notification: Performance of matching and sorting (n=17): time 0.01438/0.4102, allocations: 1.717 MB / 1.375 GB, free: 2.871 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.4102, allocations: 59.41 kB / 1.375 GB, free: 2.801 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.4104, allocations: 126.1 kB / 1.375 GB, free: 2.668 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.151e-05/0.4104, allocations: 37.62 kB / 1.375 GB, free: 2.625 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.4105, allocations: 120.3 kB / 1.375 GB, free: 2.504 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.506e-05/0.4106, allocations: 55.48 kB / 1.375 GB, free: 2.449 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.4107, allocations: 49.67 kB / 1.375 GB, free: 2.395 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.4109, allocations: 326.8 kB / 1.376 GB, free: 2.066 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/0.4122, allocations: 231.8 kB / 1.376 GB, free: 1.84 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001275/0.4135, allocations: 227.8 kB / 1.376 GB, free: 1.617 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002338/0.4158, allocations: 403 kB / 1.377 GB, free: 1.223 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.4158, allocations: 0 / 1.377 GB, free: 1.223 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.008827/0.4247, allocations: 1.124 MB / 1.378 GB, free: 92 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.4247, allocations: 4 kB / 1.378 GB, free: 88 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.4247, allocations: 4 kB / 1.378 GB, free: 84 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00162/0.4263, allocations: 356.5 kB / 1.378 GB, free: 15.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008736/0.4272, allocations: 99.89 kB / 1.378 GB, free: 15.63 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001794/0.429, allocations: 0.8372 MB / 1.379 GB, free: 14.77 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007311/0.4297, allocations: 75.75 kB / 1.379 GB, free: 14.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.629e-05/0.4298, allocations: 11.98 kB / 1.379 GB, free: 14.68 MB / 1.076 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 (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 {(7,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001837/0.4299, allocations: 125.4 kB / 1.379 GB, free: 14.55 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.048e-05/0.43, allocations: 7.953 kB / 1.379 GB, free: 14.55 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003505/0.4335, allocations: 0.6878 MB / 1.38 GB, free: 13.85 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.4335, allocations: 4 kB / 1.38 GB, free: 13.85 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4335, allocations: 4 kB / 1.38 GB, free: 13.84 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4335, allocations: 0 / 1.38 GB, free: 13.84 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005209/0.4387, allocations: 1.107 MB / 1.381 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.4387, allocations: 4 kB / 1.381 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007978/0.4395, allocations: 91.94 kB / 1.381 GB, free: 12.59 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001463/0.441, allocations: 356.5 kB / 1.381 GB, free: 12.24 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/0.441, allocations: 3.984 kB / 1.381 GB, free: 12.24 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001693/0.4427, allocations: 0.8449 MB / 1.382 GB, free: 11.37 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.4427, allocations: 0 / 1.382 GB, free: 11.37 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003022/0.4458, allocations: 0.6538 MB / 1.383 GB, free: 10.69 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.1e-05/0.4458, allocations: 19.77 kB / 1.383 GB, free: 10.67 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.496e-05/0.4458, allocations: 11.98 kB / 1.383 GB, free: 10.66 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007765/0.4466, allocations: 59.92 kB / 1.383 GB, free: 10.6 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.4467, allocations: 15.97 kB / 1.383 GB, free: 10.58 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/0.4467, allocations: 7.984 kB / 1.383 GB, free: 10.57 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8.45e-05/0.4468, allocations: 101.4 kB / 1.383 GB, free: 10.48 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.4468, allocations: 4 kB / 1.383 GB, free: 10.47 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005463/0.4473, allocations: 139.6 kB / 1.383 GB, free: 10.34 MB / 1.076 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 (7): * Single equations (assignments): 6 * 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 {(7,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000441/0.4478, allocations: 210.9 kB / 1.383 GB, free: 10.12 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004009/0.4518, allocations: 0.5758 MB / 1.384 GB, free: 9.547 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.4518, allocations: 4 kB / 1.384 GB, free: 9.543 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002567/0.4544, allocations: 359.5 kB / 1.384 GB, free: 9.191 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004449/0.4548, allocations: 27.92 kB / 1.384 GB, free: 9.164 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01225/0.467, allocations: 1.599 MB / 1.386 GB, free: 7.531 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.4672, allocations: 98.77 kB / 1.386 GB, free: 7.41 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.4673, allocations: 31.41 kB / 1.386 GB, free: 7.383 MB / 1.076 GB Notification: Performance of SimCode: time 1.292e-06/0.4673, allocations: 0 / 1.386 GB, free: 7.383 MB / 1.076 GB Notification: Performance of Templates: time 0.008433/0.4758, allocations: 5.047 MB / 1.391 GB, free: 2.344 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.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: 12.236417693085968]