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.001458/0.001458, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001651/0.001651, allocations: 219.7 kB / 23.01 MB, free: 4.566 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.335/1.335, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 179] 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 2.959/2.959, allocations: 0.505 GB / 0.8108 GB, free: 22.08 MB / 0.6231 GB " [Timeout remaining time 177] 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.001938/0.001938, allocations: 78.16 kB / 1.178 GB, free: 16.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.32, allocations: 180.2 MB / 1.354 GB, free: 7.965 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003262/0.3233, allocations: 2.083 MB / 1.356 GB, free: 5.871 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002407/0.3257, allocations: 1.682 MB / 1.358 GB, free: 4.184 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.362e-05/0.3257, allocations: 4 kB / 1.358 GB, free: 4.18 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.295e-05/0.3258, allocations: 19.78 kB / 1.358 GB, free: 4.16 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.3259, allocations: 55.48 kB / 1.358 GB, free: 4.105 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009174/0.3268, allocations: 362.8 kB / 1.358 GB, free: 3.75 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.3271, allocations: 227.1 kB / 1.358 GB, free: 3.527 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.3272, allocations: 41.66 kB / 1.358 GB, free: 3.488 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.3273, allocations: 83.72 kB / 1.359 GB, free: 3.406 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.3274, allocations: 99.66 kB / 1.359 GB, free: 3.309 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.226e-05/0.3275, allocations: 20 kB / 1.359 GB, free: 3.289 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007588/0.3282, allocations: 419.5 kB / 1.359 GB, free: 2.879 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.152e-05/0.3283, allocations: 43.91 kB / 1.359 GB, free: 2.836 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.405e-05/0.3284, allocations: 87.64 kB / 1.359 GB, free: 2.75 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005683/0.3289, allocations: 446.6 kB / 1.36 GB, free: 2.312 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3289, allocations: 0 / 1.36 GB, free: 2.312 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3289, allocations: 0 / 1.36 GB, free: 2.312 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.3289, allocations: 0 / 1.36 GB, free: 2.312 MB / 1.045 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.0008079/0.3297, allocations: 467 kB / 1.36 GB, free: 1.824 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 2.958e-05/0.3298, allocations: 8.031 kB / 1.36 GB, free: 1.816 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00346/0.3332, allocations: 376.3 kB / 1.36 GB, free: 1.449 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.3333, allocations: 118.4 kB / 1.361 GB, free: 1.309 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.3334, allocations: 79.95 kB / 1.361 GB, free: 1.219 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.451e-05/0.3335, allocations: 16.38 kB / 1.361 GB, free: 1.203 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.335, allocations: 381.5 kB / 1.361 GB, free: 0.8242 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.335, allocations: 3.938 kB / 1.361 GB, free: 0.8203 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.989e-05/0.3351, allocations: 4 kB / 1.361 GB, free: 0.8164 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.3351, allocations: 4 kB / 1.361 GB, free: 0.8125 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002234/0.3373, allocations: 411.3 kB / 1.361 GB, free: 420 kB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.339, allocations: 0.913 MB / 1.362 GB, free: 15.45 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003736/0.3428, allocations: 0.5605 MB / 1.363 GB, free: 14.88 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001228/0.344, allocations: 232.7 kB / 1.363 GB, free: 14.65 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001047/0.3441, allocations: 19.97 kB / 1.363 GB, free: 14.63 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.3441, allocations: 34.56 kB / 1.363 GB, free: 14.59 MB / 1.061 GB Notification: Performance of pre-optimization done (n=17): time 1.733e-06/0.3441, allocations: 0 / 1.363 GB, free: 14.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=17): time 0.01359/0.3577, allocations: 1.732 MB / 1.365 GB, free: 12.84 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.3578, allocations: 51.41 kB / 1.365 GB, free: 12.78 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.3579, allocations: 155.9 kB / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.358, allocations: 29.7 kB / 1.365 GB, free: 12.58 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.506e-05/0.3581, allocations: 116.4 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.575e-05/0.3581, allocations: 63.47 kB / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.3582, allocations: 53.61 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3584, allocations: 326.8 kB / 1.366 GB, free: 12.02 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001257/0.3596, allocations: 223.8 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/0.3609, allocations: 240.7 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002204/0.3631, allocations: 402.8 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3631, allocations: 0 / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.008572/0.3716, allocations: 1.114 MB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.3717, allocations: 7.984 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.3717, allocations: 4 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001451/0.3731, allocations: 348.4 kB / 1.368 GB, free: 9.688 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008312/0.374, allocations: 107.9 kB / 1.368 GB, free: 9.582 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001614/0.3756, allocations: 0.8293 MB / 1.369 GB, free: 8.727 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007408/0.3763, allocations: 83.77 kB / 1.369 GB, free: 8.645 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/0.3763, allocations: 7.984 kB / 1.369 GB, free: 8.637 MB / 1.061 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.0001724/0.3765, allocations: 132.5 kB / 1.369 GB, free: 8.5 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.309e-05/0.3766, allocations: 15.91 kB / 1.369 GB, free: 8.484 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003298/0.3799, allocations: 0.6907 MB / 1.37 GB, free: 7.785 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3799, allocations: 0 / 1.37 GB, free: 7.785 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3799, allocations: 4 kB / 1.37 GB, free: 7.781 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3799, allocations: 0 / 1.37 GB, free: 7.781 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004882/0.3848, allocations: 1.178 MB / 1.371 GB, free: 6.543 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3848, allocations: 0 / 1.371 GB, free: 6.543 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007634/0.3855, allocations: 99.94 kB / 1.371 GB, free: 6.445 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001365/0.3869, allocations: 356.4 kB / 1.371 GB, free: 6.094 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/0.3869, allocations: 11.98 kB / 1.371 GB, free: 6.082 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001582/0.3885, allocations: 0.8332 MB / 1.372 GB, free: 5.223 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3885, allocations: 0 / 1.372 GB, free: 5.223 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00282/0.3913, allocations: 0.6638 MB / 1.373 GB, free: 4.535 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.146e-05/0.3914, allocations: 27.83 kB / 1.373 GB, free: 4.508 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.172e-05/0.3914, allocations: 4 kB / 1.373 GB, free: 4.504 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007566/0.3922, allocations: 71.84 kB / 1.373 GB, free: 4.434 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.3922, allocations: 7.984 kB / 1.373 GB, free: 4.426 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.034e-05/0.3923, allocations: 11.98 kB / 1.373 GB, free: 4.414 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.681e-05/0.3924, allocations: 127.2 kB / 1.373 GB, free: 4.289 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3924, allocations: 0 / 1.373 GB, free: 4.289 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004831/0.3929, allocations: 131.6 kB / 1.373 GB, free: 4.16 MB / 1.061 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.0004/0.3933, allocations: 210.9 kB / 1.373 GB, free: 3.945 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003813/0.3971, allocations: 0.5794 MB / 1.374 GB, free: 3.367 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.3971, allocations: 4 kB / 1.374 GB, free: 3.363 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002457/0.3995, allocations: 347.6 kB / 1.374 GB, free: 3.023 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.4, allocations: 48.27 kB / 1.374 GB, free: 2.977 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/0.4115, allocations: 1.606 MB / 1.376 GB, free: 1.332 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.4118, allocations: 0.7086 MB / 1.376 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.412, allocations: 31.39 kB / 1.376 GB, free: 0.5664 MB / 1.061 GB Notification: Performance of SimCode: time 8.42e-07/0.412, allocations: 0 / 1.376 GB, free: 0.5664 MB / 1.061 GB Notification: Performance of Templates: time 0.007947/0.4199, allocations: 5.252 MB / 1.382 GB, free: 11.33 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: 11.093157474999316]