Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001478/0.001478, allocations: 106.5 kB / 19.69 MB, free: 2.277 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.001641/0.001641, allocations: 218.1 kB / 23.01 MB, free: 4.605 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.355/1.355, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] 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.91/2.91, allocations: 0.49 GB / 0.7958 GB, free: 33.39 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.ScrollCompressor,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.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_12_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.001848/0.001848, allocations: 64.91 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2898, allocations: 176.1 MB / 1.327 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003095/0.2928, allocations: 2.09 MB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002362/0.2952, allocations: 1.703 MB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.347e-05/0.2953, allocations: 0 / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.265e-05/0.2953, allocations: 23.78 kB / 1.331 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.936e-05/0.2954, allocations: 51.55 kB / 1.331 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009406/0.2964, allocations: 362.8 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002471/0.2966, allocations: 231.1 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.2967, allocations: 37.67 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.2968, allocations: 83.77 kB / 1.332 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.297, allocations: 95.67 kB / 1.332 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.121e-05/0.297, allocations: 23.94 kB / 1.332 GB, free: 12.78 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007484/0.2978, allocations: 431.5 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.259e-05/0.2978, allocations: 39.91 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.93e-05/0.2979, allocations: 95.58 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005514/0.2985, allocations: 438.7 kB / 1.333 GB, free: 11.8 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.2985, allocations: 4 kB / 1.333 GB, free: 11.79 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2985, allocations: 0 / 1.333 GB, free: 11.79 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.2985, allocations: 0 / 1.333 GB, free: 11.79 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008187/0.2993, allocations: 470.3 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.2993, allocations: 8.031 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.3004, allocations: 136.7 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.3005, allocations: 122.4 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.772e-05/0.3006, allocations: 75.95 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.3006, allocations: 16.38 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005506/0.3012, allocations: 238.2 kB / 1.334 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.3012, allocations: 3.938 kB / 1.334 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.3012, allocations: 4 kB / 1.334 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3012, allocations: 7.938 kB / 1.334 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004465/0.3017, allocations: 167.9 kB / 1.334 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/0.3031, allocations: 0.7632 MB / 1.335 GB, free: 9.684 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006533/0.3038, allocations: 194.4 kB / 1.335 GB, free: 9.484 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003382/0.3041, allocations: 118.4 kB / 1.335 GB, free: 9.367 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004397/0.3046, allocations: 71.91 kB / 1.335 GB, free: 9.297 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.3046, allocations: 38.55 kB / 1.335 GB, free: 9.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 1.313e-06/0.3046, allocations: 0 / 1.335 GB, free: 9.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.01116/0.3158, allocations: 1.384 MB / 1.336 GB, free: 7.855 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.3158, allocations: 55.41 kB / 1.336 GB, free: 7.789 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.316, allocations: 160.2 kB / 1.337 GB, free: 7.621 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.316, allocations: 29.7 kB / 1.337 GB, free: 7.586 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.538e-05/0.3161, allocations: 116.3 kB / 1.337 GB, free: 7.469 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.783e-05/0.3161, allocations: 63.47 kB / 1.337 GB, free: 7.406 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.395e-05/0.3162, allocations: 49.59 kB / 1.337 GB, free: 7.352 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.3163, allocations: 326.8 kB / 1.337 GB, free: 7.023 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003501/0.3167, allocations: 107.9 kB / 1.337 GB, free: 6.918 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003206/0.317, allocations: 121.9 kB / 1.337 GB, free: 6.801 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006047/0.3176, allocations: 202.5 kB / 1.338 GB, free: 6.602 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3176, allocations: 0 / 1.338 GB, free: 6.602 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.006504/0.3241, allocations: 0.8958 MB / 1.338 GB, free: 5.695 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3241, allocations: 9.719 kB / 1.338 GB, free: 5.688 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3242, allocations: 0 / 1.338 GB, free: 5.688 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001409/0.3256, allocations: 355 kB / 1.339 GB, free: 5.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003353/0.3259, allocations: 51.98 kB / 1.339 GB, free: 5.289 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001556/0.3275, allocations: 0.8371 MB / 1.34 GB, free: 4.426 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002765/0.3277, allocations: 43.81 kB / 1.34 GB, free: 4.383 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.3278, allocations: 8 kB / 1.34 GB, free: 4.375 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 (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.0001262/0.3279, allocations: 126.4 kB / 1.34 GB, free: 4.242 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.773e-05/0.3279, allocations: 11.95 kB / 1.34 GB, free: 4.23 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001413/0.3293, allocations: 447.1 kB / 1.34 GB, free: 3.781 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.3293, allocations: 4 kB / 1.34 GB, free: 3.777 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.3293, allocations: 0 / 1.34 GB, free: 3.777 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3294, allocations: 0 / 1.34 GB, free: 3.777 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002071/0.3314, allocations: 0.8562 MB / 1.341 GB, free: 2.863 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.3314, allocations: 3.984 kB / 1.341 GB, free: 2.859 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002923/0.3317, allocations: 47.92 kB / 1.341 GB, free: 2.812 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001329/0.333, allocations: 352.5 kB / 1.341 GB, free: 2.465 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.3331, allocations: 0 / 1.341 GB, free: 2.465 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001524/0.3346, allocations: 0.8392 MB / 1.342 GB, free: 1.602 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.3346, allocations: 7.938 kB / 1.342 GB, free: 1.594 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.3357, allocations: 469.6 kB / 1.343 GB, free: 1.109 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.931e-05/0.3357, allocations: 19.83 kB / 1.343 GB, free: 1.09 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.3357, allocations: 4 kB / 1.343 GB, free: 1.086 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003037/0.3361, allocations: 27.97 kB / 1.343 GB, free: 1.059 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.3361, allocations: 7.984 kB / 1.343 GB, free: 1.051 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.3361, allocations: 15.98 kB / 1.343 GB, free: 1.035 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.204e-05/0.3362, allocations: 121.6 kB / 1.343 GB, free: 0.918 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3362, allocations: 0 / 1.343 GB, free: 0.918 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004343/0.3366, allocations: 131.6 kB / 1.343 GB, free: 0.7891 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 (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.0004023/0.337, allocations: 234.8 kB / 1.343 GB, free: 0.5508 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001991/0.339, allocations: 367.6 kB / 1.344 GB, free: 196 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.339, allocations: 0 / 1.344 GB, free: 196 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001584/0.3406, allocations: 238.1 kB / 1.344 GB, free: 15.96 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.341, allocations: 52.27 kB / 1.344 GB, free: 15.91 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/0.3513, allocations: 1.439 MB / 1.345 GB, free: 14.43 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.3516, allocations: 0.7125 MB / 1.346 GB, free: 13.7 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.556e-05/0.3516, allocations: 15.44 kB / 1.346 GB, free: 13.68 MB / 1.045 GB Notification: Performance of SimCode: time 6.31e-07/0.3516, allocations: 4 kB / 1.346 GB, free: 13.68 MB / 1.045 GB Notification: Performance of Templates: time 0.006971/0.3586, allocations: 4.535 MB / 1.35 GB, free: 9.164 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.909614926989889]