Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008029/0.008029, allocations: 170.7 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.614/2.614, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003453/0.0003452, allocations: 12 kB / 0.8728 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6368/0.6372, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002162/0.6394, allocations: 1.742 MB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00244/0.6419, allocations: 1.726 MB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.352e-05/0.6419, allocations: 4 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.748e-05/0.642, allocations: 7.922 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.951e-05/0.6421, allocations: 51.61 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007867/0.6429, allocations: 295.2 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.6431, allocations: 215.1 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.6432, allocations: 49.52 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.879e-05/0.6433, allocations: 67.78 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.6435, allocations: 83.67 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.517e-05/0.6435, allocations: 12 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007189/0.6442, allocations: 391.4 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.552e-05/0.6443, allocations: 35.91 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.6444, allocations: 109.4 kB / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005295/0.6449, allocations: 420.9 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.6449, allocations: 0 / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.193e-06/0.645, allocations: 0 / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.645, allocations: 0 / 1.028 GB, free: 10.62 MB / 0.7794 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.0008517/0.6458, allocations: 0.503 MB / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.6459, allocations: 8.031 kB / 1.029 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/0.6471, allocations: 144.6 kB / 1.029 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.6473, allocations: 180.1 kB / 1.029 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-05/0.6474, allocations: 54.25 kB / 1.029 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.559e-05/0.6474, allocations: 12.38 kB / 1.029 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006154/0.648, allocations: 225.8 kB / 1.029 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.648, allocations: 3.938 kB / 1.029 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.6481, allocations: 4 kB / 1.029 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.6481, allocations: 7.938 kB / 1.029 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007832/0.6489, allocations: 235.9 kB / 1.029 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/0.6503, allocations: 0.9662 MB / 1.03 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004943/0.6508, allocations: 190.5 kB / 1.031 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000381/0.6512, allocations: 117.1 kB / 1.031 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006759/0.6519, allocations: 0.5181 MB / 1.031 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.6519, allocations: 42.5 kB / 1.031 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.944e-06/0.652, allocations: 0 / 1.031 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.001224/0.6532, allocations: 335.5 kB / 1.032 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.6532, allocations: 55.39 kB / 1.032 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.6534, allocations: 164.2 kB / 1.032 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.6534, allocations: 25.7 kB / 1.032 GB, free: 6.484 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.978e-05/0.6535, allocations: 124.1 kB / 1.032 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.846e-05/0.6536, allocations: 51.2 kB / 1.032 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.6536, allocations: 21.72 kB / 1.032 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.6537, allocations: 330.8 kB / 1.032 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003685/0.6541, allocations: 99.89 kB / 1.032 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003804/0.6545, allocations: 133.2 kB / 1.032 GB, free: 5.715 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007034/0.6552, allocations: 197.6 kB / 1.033 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6552, allocations: 4 kB / 1.033 GB, free: 5.512 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000878/0.6561, allocations: 271.9 kB / 1.033 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.6561, allocations: 4 kB / 1.033 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.6561, allocations: 0 / 1.033 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.6562, allocations: 0 / 1.033 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/0.6566, allocations: 59.91 kB / 1.033 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.6566, allocations: 3.938 kB / 1.033 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003058/0.6569, allocations: 35.81 kB / 1.033 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.6569, allocations: 7.938 kB / 1.033 GB, free: 5.133 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.657, allocations: 130.3 kB / 1.033 GB, free: 4.996 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.726e-05/0.6571, allocations: 19.81 kB / 1.033 GB, free: 4.977 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008676/0.658, allocations: 266.7 kB / 1.033 GB, free: 4.711 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.658, allocations: 4 kB / 1.033 GB, free: 4.707 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.658, allocations: 3.938 kB / 1.033 GB, free: 4.703 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.658, allocations: 4 kB / 1.033 GB, free: 4.699 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001822/0.6598, allocations: 1.062 MB / 1.034 GB, free: 3.477 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.6598, allocations: 7.969 kB / 1.034 GB, free: 3.469 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003436/0.6602, allocations: 47.91 kB / 1.035 GB, free: 3.422 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.6602, allocations: 3.984 kB / 1.035 GB, free: 3.418 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.6602, allocations: 4 kB / 1.035 GB, free: 3.414 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.6602, allocations: 0 / 1.035 GB, free: 3.414 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.6602, allocations: 0 / 1.035 GB, free: 3.414 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008495/0.6611, allocations: 362.7 kB / 1.035 GB, free: 3.039 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.32e-05/0.6612, allocations: 100.9 kB / 1.035 GB, free: 2.922 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.196e-05/0.6612, allocations: 4 kB / 1.035 GB, free: 2.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003491/0.6616, allocations: 27.97 kB / 1.035 GB, free: 2.891 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.6616, allocations: 11.98 kB / 1.035 GB, free: 2.879 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.6617, allocations: 11.98 kB / 1.035 GB, free: 2.867 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.93e-05/0.6618, allocations: 113.7 kB / 1.035 GB, free: 2.758 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6618, allocations: 3.938 kB / 1.035 GB, free: 2.754 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005431/0.6623, allocations: 139.8 kB / 1.035 GB, free: 2.617 MB / 0.7794 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004759/0.6628, allocations: 227 kB / 1.035 GB, free: 2.387 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000874/0.6637, allocations: 239.8 kB / 1.036 GB, free: 2.152 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6637, allocations: 0 / 1.036 GB, free: 2.152 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003866/0.6641, allocations: 112.1 kB / 1.036 GB, free: 2.043 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004568/0.6646, allocations: 43.91 kB / 1.036 GB, free: 2 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002294/0.6669, allocations: 0.5482 MB / 1.036 GB, free: 1.418 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.6672, allocations: 0.7089 MB / 1.037 GB, free: 0.6836 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002144/0.6674, allocations: 37.47 kB / 1.037 GB, free: 0.6484 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.6676, allocations: 19.44 kB / 1.037 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of SimCode: time 5.11e-07/0.6676, allocations: 0 / 1.037 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of Templates: time 0.008705/0.6763, allocations: 4.378 MB / 1.041 GB, free: 12.29 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches