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.002037/0.002037, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002683/0.002683, allocations: 219.2 kB / 22.26 MB, free: 5.082 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.604/1.604, allocations: 230.6 MB / 256 MB, free: 8.031 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.484/3.484, allocations: 0.49 GB / 0.7951 GB, free: 33.26 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.002156/0.002156, allocations: 73.5 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4717/0.4738, allocations: 176.1 MB / 1.326 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003918/0.4777, allocations: 2.078 MB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002969/0.4807, allocations: 1.704 MB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.724e-05/0.4808, allocations: 0 / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.562e-05/0.4809, allocations: 23.78 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.481, allocations: 47.56 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.4822, allocations: 370.8 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000293/0.4825, allocations: 227 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.4826, allocations: 49.64 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.4828, allocations: 79.78 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.483, allocations: 95.66 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.604e-05/0.483, allocations: 24 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009185/0.4839, allocations: 427.4 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.093e-05/0.484, allocations: 47.89 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.4841, allocations: 87.59 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007052/0.4848, allocations: 442.7 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4848, allocations: 0 / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.323e-06/0.4848, allocations: 0 / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.273e-05/0.4848, allocations: 0 / 1.332 GB, free: 11.77 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.0009942/0.4858, allocations: 469.1 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.4858, allocations: 8.031 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/0.487, allocations: 140.7 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.4872, allocations: 126.4 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.4873, allocations: 75.95 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.208e-05/0.4873, allocations: 16.38 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006075/0.4879, allocations: 234.2 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.4879, allocations: 3.938 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.759e-05/0.488, allocations: 4 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.488, allocations: 4 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004563/0.4884, allocations: 171.9 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001666/0.4901, allocations: 0.7632 MB / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007132/0.4908, allocations: 190.4 kB / 1.334 GB, free: 9.457 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000381/0.4912, allocations: 116.8 kB / 1.334 GB, free: 9.34 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004676/0.4917, allocations: 67.92 kB / 1.334 GB, free: 9.273 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.4917, allocations: 38.56 kB / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 1.523e-06/0.4917, allocations: 0 / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.01188/0.5036, allocations: 1.399 MB / 1.336 GB, free: 7.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.5036, allocations: 55.41 kB / 1.336 GB, free: 7.754 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.5038, allocations: 152.1 kB / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.931e-05/0.5039, allocations: 29.7 kB / 1.336 GB, free: 7.559 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.504, allocations: 124.3 kB / 1.336 GB, free: 7.434 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.357e-05/0.504, allocations: 59.53 kB / 1.336 GB, free: 7.375 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.5041, allocations: 45.59 kB / 1.336 GB, free: 7.324 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.5043, allocations: 326.8 kB / 1.336 GB, free: 6.996 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00036/0.5047, allocations: 107.9 kB / 1.336 GB, free: 6.891 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003399/0.505, allocations: 111.9 kB / 1.337 GB, free: 6.781 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006668/0.5057, allocations: 214.6 kB / 1.337 GB, free: 6.57 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.5057, allocations: 4 kB / 1.337 GB, free: 6.566 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.006835/0.5125, allocations: 0.8976 MB / 1.338 GB, free: 5.66 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/0.5126, allocations: 11.94 kB / 1.338 GB, free: 5.648 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.5126, allocations: 0 / 1.338 GB, free: 5.648 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001516/0.5141, allocations: 351.8 kB / 1.338 GB, free: 5.305 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003582/0.5144, allocations: 51.98 kB / 1.338 GB, free: 5.254 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001772/0.5162, allocations: 0.8371 MB / 1.339 GB, free: 4.391 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003252/0.5165, allocations: 43.81 kB / 1.339 GB, free: 4.348 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.5166, allocations: 4 kB / 1.339 GB, free: 4.344 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.0001747/0.5167, allocations: 126.4 kB / 1.339 GB, free: 4.211 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.678e-05/0.5168, allocations: 11.95 kB / 1.339 GB, free: 4.199 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/0.5184, allocations: 449.2 kB / 1.339 GB, free: 3.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.5184, allocations: 4 kB / 1.339 GB, free: 3.746 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.924e-06/0.5184, allocations: 3.984 kB / 1.339 GB, free: 3.742 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.5184, allocations: 3.938 kB / 1.339 GB, free: 3.738 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002305/0.5207, allocations: 0.8523 MB / 1.34 GB, free: 2.828 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.5207, allocations: 0 / 1.34 GB, free: 2.828 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003119/0.521, allocations: 43.98 kB / 1.34 GB, free: 2.785 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001428/0.5224, allocations: 352.5 kB / 1.341 GB, free: 2.438 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/0.5225, allocations: 7.984 kB / 1.341 GB, free: 2.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001677/0.5241, allocations: 0.8255 MB / 1.341 GB, free: 1.578 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.5241, allocations: 7.938 kB / 1.341 GB, free: 1.57 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.5254, allocations: 469.6 kB / 1.342 GB, free: 1.086 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.892e-05/0.5254, allocations: 15.84 kB / 1.342 GB, free: 1.07 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.679e-05/0.5255, allocations: 15.98 kB / 1.342 GB, free: 1.055 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003167/0.5258, allocations: 15.98 kB / 1.342 GB, free: 1.039 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.728e-05/0.5258, allocations: 23.89 kB / 1.342 GB, free: 1.016 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.5259, allocations: 8 kB / 1.342 GB, free: 1.008 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001172/0.526, allocations: 121.2 kB / 1.342 GB, free: 0.8906 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.526, allocations: 0 / 1.342 GB, free: 0.8906 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005769/0.5266, allocations: 139.6 kB / 1.342 GB, free: 0.7539 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.0005729/0.5271, allocations: 230.8 kB / 1.342 GB, free: 0.5195 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002148/0.5293, allocations: 363.6 kB / 1.343 GB, free: 168 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.5293, allocations: 4 kB / 1.343 GB, free: 164 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001624/0.5309, allocations: 235.8 kB / 1.343 GB, free: 15.93 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005046/0.5314, allocations: 53.45 kB / 1.343 GB, free: 15.88 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.5423, allocations: 1.406 MB / 1.344 GB, free: 14.45 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.5427, allocations: 0.7164 MB / 1.345 GB, free: 13.7 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001394/0.5428, allocations: 21.7 kB / 1.345 GB, free: 13.68 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.36e-05/0.5429, allocations: 15.44 kB / 1.345 GB, free: 13.67 MB / 1.045 GB Notification: Performance of SimCode: time 1.343e-06/0.5429, allocations: 0 / 1.345 GB, free: 13.67 MB / 1.045 GB Notification: Performance of Templates: time 0.01387/0.5568, allocations: 6.206 MB / 1.351 GB, free: 7.508 MB / 1.045 GB " [Timeout remaining time 299] 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/jenkins/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.435421261005104]