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.001767/0.001767, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001886/0.001886, allocations: 216.2 kB / 22.99 MB, free: 4.945 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 7.809 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 3.176/3.176, allocations: 0.4892 GB / 0.7951 GB, free: 35.4 MB / 0.6231 GB " [Timeout remaining time 176] 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.002107/0.002107, allocations: 71.08 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3595, allocations: 176.1 MB / 1.326 GB, free: 1.84 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003996/0.3635, allocations: 1.999 MB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002928/0.3665, allocations: 1.531 MB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.3666, allocations: 4 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.588e-05/0.3667, allocations: 19.78 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001652/0.3668, allocations: 51.55 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.3681, allocations: 366.7 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003338/0.3685, allocations: 231.1 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.3686, allocations: 35.55 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.3688, allocations: 91.7 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.3689, allocations: 79.72 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.598e-05/0.369, allocations: 20 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009251/0.3699, allocations: 411.4 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.006e-05/0.37, allocations: 39.91 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.092e-05/0.37, allocations: 79.7 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006656/0.3707, allocations: 442.7 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3707, allocations: 4 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3707, allocations: 0 / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.3707, allocations: 0 / 1.332 GB, free: 12.46 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.0009637/0.3717, allocations: 471.5 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.3717, allocations: 8.031 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.3728, allocations: 136.7 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.373, allocations: 122.4 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.3731, allocations: 75.95 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/0.3732, allocations: 24.25 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006551/0.3738, allocations: 281.6 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.3738, allocations: 3.938 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.653e-05/0.3739, allocations: 4 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.3739, allocations: 4 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004843/0.3744, allocations: 167.9 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/0.3759, allocations: 0.6896 MB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007276/0.3766, allocations: 178.6 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003821/0.377, allocations: 108.8 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004649/0.3775, allocations: 79.84 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.3775, allocations: 38.56 kB / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 1.873e-06/0.3775, allocations: 0 / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.01204/0.3896, allocations: 1.393 MB / 1.335 GB, free: 8.559 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.3896, allocations: 51.41 kB / 1.335 GB, free: 8.496 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.3898, allocations: 133.8 kB / 1.335 GB, free: 8.359 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.751e-05/0.3898, allocations: 29.7 kB / 1.335 GB, free: 8.324 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.729e-05/0.3899, allocations: 124.3 kB / 1.336 GB, free: 8.199 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.39, allocations: 59.48 kB / 1.336 GB, free: 8.141 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-05/0.3901, allocations: 41.69 kB / 1.336 GB, free: 8.094 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.3903, allocations: 322.8 kB / 1.336 GB, free: 7.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004625/0.3907, allocations: 119.9 kB / 1.336 GB, free: 7.652 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003567/0.3911, allocations: 109.2 kB / 1.336 GB, free: 7.547 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006924/0.3918, allocations: 210.7 kB / 1.336 GB, free: 7.34 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3918, allocations: 3.938 kB / 1.336 GB, free: 7.336 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.007246/0.399, allocations: 0.8897 MB / 1.337 GB, free: 6.438 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.3991, allocations: 13.72 kB / 1.337 GB, free: 6.426 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.3991, allocations: 0 / 1.337 GB, free: 6.426 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001556/0.4006, allocations: 348.5 kB / 1.338 GB, free: 6.082 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003691/0.401, allocations: 51.98 kB / 1.338 GB, free: 6.031 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/0.4028, allocations: 0.8371 MB / 1.338 GB, free: 5.168 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002894/0.4031, allocations: 39.81 kB / 1.338 GB, free: 5.129 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.4031, allocations: 4 kB / 1.338 GB, free: 5.125 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.000158/0.4033, allocations: 130.4 kB / 1.339 GB, free: 4.988 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.877e-05/0.4033, allocations: 7.953 kB / 1.339 GB, free: 4.98 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001592/0.4049, allocations: 450.8 kB / 1.339 GB, free: 4.527 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.4049, allocations: 3.984 kB / 1.339 GB, free: 4.523 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.4049, allocations: 0 / 1.339 GB, free: 4.523 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4049, allocations: 0 / 1.339 GB, free: 4.523 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00221/0.4072, allocations: 0.7904 MB / 1.34 GB, free: 3.688 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.4072, allocations: 0 / 1.34 GB, free: 3.688 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003345/0.4075, allocations: 52.05 kB / 1.34 GB, free: 3.637 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001482/0.409, allocations: 340.5 kB / 1.34 GB, free: 3.301 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.409, allocations: 8 kB / 1.34 GB, free: 3.293 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001716/0.4107, allocations: 0.8343 MB / 1.341 GB, free: 2.434 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.4107, allocations: 4 kB / 1.341 GB, free: 2.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.412, allocations: 465.7 kB / 1.341 GB, free: 1.949 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.86e-05/0.412, allocations: 19.81 kB / 1.341 GB, free: 1.93 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.137e-05/0.412, allocations: 11.94 kB / 1.341 GB, free: 1.918 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003158/0.4123, allocations: 23.97 kB / 1.341 GB, free: 1.895 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.429e-05/0.4124, allocations: 19.97 kB / 1.342 GB, free: 1.875 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.4124, allocations: 4 kB / 1.342 GB, free: 1.871 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.439e-05/0.4125, allocations: 106.1 kB / 1.342 GB, free: 1.77 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4125, allocations: 0 / 1.342 GB, free: 1.77 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000535/0.4131, allocations: 139.5 kB / 1.342 GB, free: 1.633 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.0004789/0.4135, allocations: 230.8 kB / 1.342 GB, free: 1.398 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002144/0.4157, allocations: 361.6 kB / 1.342 GB, free: 1.047 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4157, allocations: 0 / 1.342 GB, free: 1.047 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001676/0.4174, allocations: 237.9 kB / 1.343 GB, free: 0.8164 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.4178, allocations: 39.92 kB / 1.343 GB, free: 0.7773 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/0.4291, allocations: 1.441 MB / 1.344 GB, free: 15.3 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/0.4293, allocations: 98.77 kB / 1.344 GB, free: 15.18 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.285e-05/0.4293, allocations: 11.44 kB / 1.344 GB, free: 15.16 MB / 1.045 GB Notification: Performance of SimCode: time 2.254e-06/0.4293, allocations: 0 / 1.344 GB, free: 15.16 MB / 1.045 GB Notification: Performance of Templates: time 0.008011/0.4373, allocations: 4.334 MB / 1.348 GB, free: 10.84 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: 11.99979831604287]