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.0008114/0.0008114, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000849/0.000849, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8621/0.8621, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.721/1.721, allocations: 377.8 MB / 0.6228 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.9822 GB, free: 2.098 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.209e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.094 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002428/0.002451, allocations: 2.004 MB / 0.9841 GB, free: 84 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001704/0.004154, allocations: 1.519 MB / 0.9856 GB, free: 14.56 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.311e-05/0.004217, allocations: 4 kB / 0.9856 GB, free: 14.55 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 5.977e-05/0.004277, allocations: 23.78 kB / 0.9856 GB, free: 14.53 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 8.783e-05/0.004365, allocations: 59.42 kB / 0.9857 GB, free: 14.47 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007991/0.005164, allocations: 366.6 kB / 0.9861 GB, free: 14.11 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.005341, allocations: 239 kB / 0.9863 GB, free: 13.88 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.005465, allocations: 37.78 kB / 0.9863 GB, free: 13.84 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.005574, allocations: 135.7 kB / 0.9864 GB, free: 13.71 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.005682, allocations: 67.83 kB / 0.9865 GB, free: 13.64 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.279e-05/0.005715, allocations: 23.94 kB / 0.9865 GB, free: 13.62 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006008/0.006316, allocations: 407.4 kB / 0.9869 GB, free: 13.22 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 3.771e-05/0.006353, allocations: 47.88 kB / 0.987 GB, free: 13.18 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.446e-05/0.006408, allocations: 67.83 kB / 0.987 GB, free: 13.11 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005098/0.006917, allocations: 0.4908 MB / 0.9875 GB, free: 12.62 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.006921, allocations: 4 kB / 0.9875 GB, free: 12.61 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.774e-06/0.006923, allocations: 0 / 0.9875 GB, free: 12.61 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.006929, allocations: 4 kB / 0.9875 GB, free: 12.61 MB / 0.948 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.000671/0.0076, allocations: 461.2 kB / 0.988 GB, free: 12.12 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.007639, allocations: 12.03 kB / 0.988 GB, free: 12.11 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005292/0.008168, allocations: 132.7 kB / 0.9881 GB, free: 11.98 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.871e-05/0.008267, allocations: 125.5 kB / 0.9882 GB, free: 11.84 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.392e-05/0.008361, allocations: 79.95 kB / 0.9883 GB, free: 11.75 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.008386, allocations: 12.38 kB / 0.9883 GB, free: 11.73 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003814/0.008768, allocations: 290.8 kB / 0.9886 GB, free: 11.43 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.008778, allocations: 192 / 0.9886 GB, free: 11.43 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.008799, allocations: 4.375 kB / 0.9886 GB, free: 11.43 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.525e-06/0.008807, allocations: 8.125 kB / 0.9886 GB, free: 11.42 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002522/0.009059, allocations: 163.9 kB / 0.9888 GB, free: 11.26 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.01007, allocations: 0.675 MB / 0.9894 GB, free: 10.55 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004247/0.01049, allocations: 186.5 kB / 0.9896 GB, free: 10.36 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.01068, allocations: 116.8 kB / 0.9897 GB, free: 10.25 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002209/0.0109, allocations: 67.86 kB / 0.9898 GB, free: 10.18 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.01092, allocations: 34.56 kB / 0.9898 GB, free: 10.14 MB / 0.948 GB Notification: Performance of pre-optimization done (n=17): time 1.333e-06/0.01092, allocations: 0 / 0.9898 GB, free: 10.14 MB / 0.948 GB Notification: Performance of matching and sorting (n=17): time 0.005484/0.01641, allocations: 1.401 MB / 0.9912 GB, free: 8.73 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.01644, allocations: 59.39 kB / 0.9912 GB, free: 8.66 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.603e-05/0.01651, allocations: 130 kB / 0.9913 GB, free: 8.523 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.01654, allocations: 33.7 kB / 0.9914 GB, free: 8.484 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.767e-05/0.01659, allocations: 120.3 kB / 0.9915 GB, free: 8.363 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.889e-05/0.01663, allocations: 63.47 kB / 0.9916 GB, free: 8.301 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-05/0.01669, allocations: 41.7 kB / 0.9916 GB, free: 8.254 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.294e-05/0.01677, allocations: 318.8 kB / 0.9919 GB, free: 7.934 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.01696, allocations: 111.9 kB / 0.992 GB, free: 7.824 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.01714, allocations: 115.9 kB / 0.9921 GB, free: 7.711 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003493/0.01749, allocations: 211.2 kB / 0.9923 GB, free: 7.504 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.01749, allocations: 0 / 0.9923 GB, free: 7.504 MB / 0.948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.003124/0.02061, allocations: 0.8935 MB / 0.9932 GB, free: 6.602 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.02063, allocations: 7.938 kB / 0.9932 GB, free: 6.594 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.02064, allocations: 0 / 0.9932 GB, free: 6.594 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008023/0.02144, allocations: 356 kB / 0.9935 GB, free: 6.246 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.02162, allocations: 55.91 kB / 0.9936 GB, free: 6.191 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008892/0.02251, allocations: 0.8295 MB / 0.9944 GB, free: 5.336 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.02264, allocations: 27.88 kB / 0.9944 GB, free: 5.309 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.02265, allocations: 11.98 kB / 0.9944 GB, free: 5.297 MB / 0.948 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 9.726e-05/0.02275, allocations: 125.8 kB / 0.9946 GB, free: 5.164 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.02278, allocations: 11.91 kB / 0.9946 GB, free: 5.152 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00085/0.02363, allocations: 438.9 kB / 0.995 GB, free: 4.711 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.02363, allocations: 4 kB / 0.995 GB, free: 4.707 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.02364, allocations: 7.938 kB / 0.995 GB, free: 4.699 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.02364, allocations: 4 kB / 0.995 GB, free: 4.695 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.02484, allocations: 0.7912 MB / 0.9958 GB, free: 3.859 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.02484, allocations: 3.938 kB / 0.9958 GB, free: 3.855 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.025, allocations: 52.03 kB / 0.9958 GB, free: 3.805 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007225/0.02572, allocations: 352.5 kB / 0.9962 GB, free: 3.457 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.02574, allocations: 3.984 kB / 0.9962 GB, free: 3.453 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008431/0.02658, allocations: 0.8372 MB / 0.997 GB, free: 2.59 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.02658, allocations: 0 / 0.997 GB, free: 2.59 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006403/0.02722, allocations: 468 kB / 0.9974 GB, free: 2.109 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.35e-05/0.02724, allocations: 7.953 kB / 0.9974 GB, free: 2.102 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.02726, allocations: 4 kB / 0.9974 GB, free: 2.098 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.02741, allocations: 31.91 kB / 0.9975 GB, free: 2.066 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.02744, allocations: 15.97 kB / 0.9975 GB, free: 2.051 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.02745, allocations: 4 kB / 0.9975 GB, free: 2.047 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.669e-05/0.0275, allocations: 95.27 kB / 0.9976 GB, free: 1.953 MB / 0.948 GB Notification: Performance of sort global known variables: time 9e-08/0.0275, allocations: 0 / 0.9976 GB, free: 1.953 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006664/0.02817, allocations: 143.5 kB / 0.9977 GB, free: 1.812 MB / 0.948 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.0003446/0.02851, allocations: 250.7 kB / 0.998 GB, free: 1.559 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001024/0.02954, allocations: 359.6 kB / 0.9983 GB, free: 1.207 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.02954, allocations: 0 / 0.9983 GB, free: 1.207 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000717/0.03026, allocations: 235.8 kB / 0.9985 GB, free: 0.9766 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.03055, allocations: 35.97 kB / 0.9986 GB, free: 0.9414 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004843/0.0354, allocations: 1.429 MB / 1 GB, free: 15.48 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.476e-05/0.03547, allocations: 102.6 kB / 1 GB, free: 15.36 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.596e-05/0.03551, allocations: 20.5 kB / 1 GB, free: 15.33 MB / 0.9636 GB Notification: Performance of SimCode: time 4.71e-07/0.03551, allocations: 0 / 1 GB, free: 15.33 MB / 0.9636 GB Notification: Performance of Templates: time 0.004607/0.04012, allocations: 4.364 MB / 1.004 GB, free: 10.98 MB / 0.9636 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/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: 6.944195846095681]