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.00158/0.00158, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.002131/0.002131, allocations: 213.3 kB / 23.04 MB, free: 4.852 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.125/3.125, allocations: 0.49 GB / 0.7959 GB, free: 35.49 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.002004/0.002004, allocations: 71.92 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3739, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003544/0.3774, allocations: 1.993 MB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002643/0.3801, allocations: 1.531 MB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.315e-05/0.3801, allocations: 0 / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.454e-05/0.3802, allocations: 19.8 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.3803, allocations: 51.55 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.3814, allocations: 370.8 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002598/0.3817, allocations: 223.1 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.3818, allocations: 43.52 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.382, allocations: 87.78 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.3821, allocations: 83.66 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.73e-05/0.3821, allocations: 20 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008044/0.3829, allocations: 407.5 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.928e-05/0.383, allocations: 43.89 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.064e-05/0.3831, allocations: 75.72 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006418/0.3837, allocations: 450.5 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3837, allocations: 0 / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3837, allocations: 0 / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.3837, allocations: 4 kB / 1.332 GB, free: 11.59 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.0009023/0.3846, allocations: 465.1 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.3847, allocations: 16.02 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.3858, allocations: 132.7 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.3859, allocations: 122.4 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.386, allocations: 79.95 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.155e-05/0.3861, allocations: 12.38 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006786/0.3867, allocations: 285.6 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.3867, allocations: 3.938 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.823e-05/0.3868, allocations: 8 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.3868, allocations: 4 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004923/0.3873, allocations: 167.8 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.3889, allocations: 0.6818 MB / 1.334 GB, free: 9.512 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007671/0.3896, allocations: 194.5 kB / 1.334 GB, free: 9.312 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003653/0.39, allocations: 112.8 kB / 1.335 GB, free: 9.199 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004539/0.3905, allocations: 71.86 kB / 1.335 GB, free: 9.129 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.481e-05/0.3905, allocations: 30.56 kB / 1.335 GB, free: 9.09 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 1.914e-06/0.3905, allocations: 0 / 1.335 GB, free: 9.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.01213/0.4026, allocations: 1.391 MB / 1.336 GB, free: 7.688 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.4027, allocations: 55.39 kB / 1.336 GB, free: 7.621 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.4028, allocations: 134.9 kB / 1.336 GB, free: 7.48 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.4029, allocations: 25.7 kB / 1.336 GB, free: 7.449 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.403, allocations: 128.3 kB / 1.336 GB, free: 7.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.288e-05/0.403, allocations: 63.47 kB / 1.336 GB, free: 7.258 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.314e-05/0.4031, allocations: 37.7 kB / 1.336 GB, free: 7.215 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.4033, allocations: 326.8 kB / 1.337 GB, free: 6.887 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003761/0.4037, allocations: 111.9 kB / 1.337 GB, free: 6.777 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003536/0.404, allocations: 107.9 kB / 1.337 GB, free: 6.672 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007002/0.4047, allocations: 208.5 kB / 1.337 GB, free: 6.469 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4047, allocations: 0 / 1.337 GB, free: 6.469 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.007334/0.4121, allocations: 0.8966 MB / 1.338 GB, free: 5.562 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.4121, allocations: 5.875 kB / 1.338 GB, free: 5.559 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.4121, allocations: 3.938 kB / 1.338 GB, free: 5.555 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001561/0.4137, allocations: 361.4 kB / 1.338 GB, free: 5.199 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003638/0.414, allocations: 51.98 kB / 1.338 GB, free: 5.148 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/0.4158, allocations: 0.8294 MB / 1.339 GB, free: 4.293 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003042/0.4161, allocations: 39.73 kB / 1.339 GB, free: 4.254 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.4161, allocations: 12 kB / 1.339 GB, free: 4.242 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.0001502/0.4163, allocations: 122.3 kB / 1.339 GB, free: 4.113 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.386e-05/0.4163, allocations: 11.95 kB / 1.339 GB, free: 4.102 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001619/0.418, allocations: 438.7 kB / 1.34 GB, free: 3.664 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.418, allocations: 4 kB / 1.34 GB, free: 3.66 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.418, allocations: 4 kB / 1.34 GB, free: 3.656 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.418, allocations: 3.984 kB / 1.34 GB, free: 3.652 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002222/0.4202, allocations: 0.7929 MB / 1.341 GB, free: 2.816 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.4202, allocations: 0 / 1.341 GB, free: 2.816 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003374/0.4206, allocations: 51.98 kB / 1.341 GB, free: 2.766 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001477/0.422, allocations: 360.5 kB / 1.341 GB, free: 2.41 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.4221, allocations: 4 kB / 1.341 GB, free: 2.406 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001746/0.4238, allocations: 0.8294 MB / 1.342 GB, free: 1.551 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.4238, allocations: 0 / 1.342 GB, free: 1.551 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.425, allocations: 467 kB / 1.342 GB, free: 1.07 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.653e-05/0.425, allocations: 15.83 kB / 1.342 GB, free: 1.055 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.794e-05/0.4251, allocations: 11.98 kB / 1.342 GB, free: 1.043 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003225/0.4254, allocations: 23.98 kB / 1.342 GB, free: 1.02 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/0.4255, allocations: 11.97 kB / 1.342 GB, free: 1.008 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.4255, allocations: 4 kB / 1.342 GB, free: 1.004 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.316e-05/0.4256, allocations: 107.2 kB / 1.342 GB, free: 0.8984 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4256, allocations: 3.938 kB / 1.342 GB, free: 0.8945 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005187/0.4261, allocations: 147.5 kB / 1.343 GB, free: 0.75 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.0004482/0.4265, allocations: 222.9 kB / 1.343 GB, free: 0.5234 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00221/0.4287, allocations: 361.3 kB / 1.343 GB, free: 176 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.4287, allocations: 4 kB / 1.343 GB, free: 172 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001731/0.4305, allocations: 231.8 kB / 1.343 GB, free: 15.94 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.4309, allocations: 41.62 kB / 1.343 GB, free: 15.9 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/0.4421, allocations: 1.446 MB / 1.345 GB, free: 14.42 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.4422, allocations: 94.78 kB / 1.345 GB, free: 14.3 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.21e-05/0.4423, allocations: 11.44 kB / 1.345 GB, free: 14.29 MB / 1.045 GB Notification: Performance of SimCode: time 1.303e-06/0.4423, allocations: 0 / 1.345 GB, free: 14.29 MB / 1.045 GB Notification: Performance of Templates: time 0.007469/0.4497, allocations: 4.346 MB / 1.349 GB, free: 9.957 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: 12.055218874011189]