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.007121/0.007121, allocations: 95.61 kB / 15.73 MB, free: 6.055 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.001609/0.001609, allocations: 197.8 kB / 16.67 MB, free: 5.977 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.488/1.488, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.66/2.66, allocations: 437 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 59.91 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2635, allocations: 151.6 MB / 1.167 GB, free: 6.793 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002964/0.2665, allocations: 2.044 MB / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002313/0.2688, allocations: 1.671 MB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.41e-05/0.2689, allocations: 0 / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 6.41e-05/0.269, allocations: 19.8 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.2691, allocations: 47.55 kB / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009224/0.27, allocations: 362.8 kB / 1.171 GB, free: 2.629 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002261/0.2703, allocations: 231.1 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.2704, allocations: 53.52 kB / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.831e-05/0.2705, allocations: 83.78 kB / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.2707, allocations: 91.66 kB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.025e-05/0.2707, allocations: 20 kB / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007598/0.2715, allocations: 415.5 kB / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.485e-05/0.2716, allocations: 47.83 kB / 1.172 GB, free: 1.703 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.623e-05/0.2716, allocations: 91.59 kB / 1.172 GB, free: 1.613 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000613/0.2723, allocations: 434.6 kB / 1.172 GB, free: 1.188 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.2723, allocations: 0 / 1.172 GB, free: 1.188 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2723, allocations: 4 kB / 1.172 GB, free: 1.184 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.2723, allocations: 0 / 1.172 GB, free: 1.184 MB / 0.92 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.0008092/0.2731, allocations: 0.5334 MB / 1.173 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.2732, allocations: 8.031 kB / 1.173 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.2742, allocations: 140.7 kB / 1.173 GB, free: 464 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.2743, allocations: 180.2 kB / 1.173 GB, free: 244 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.459e-05/0.2744, allocations: 54.25 kB / 1.173 GB, free: 184 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.09e-05/0.2745, allocations: 16.38 kB / 1.173 GB, free: 168 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005656/0.275, allocations: 210 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.2751, allocations: 3.938 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.2751, allocations: 11.98 kB / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.2751, allocations: 4 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007434/0.2759, allocations: 239.4 kB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/0.2773, allocations: 0.9662 MB / 1.174 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00049/0.2778, allocations: 186.5 kB / 1.175 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003464/0.2782, allocations: 116.8 kB / 1.175 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006365/0.2788, allocations: 0.522 MB / 1.175 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.2789, allocations: 34.56 kB / 1.175 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.2789, allocations: 0 / 1.175 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.001158/0.28, allocations: 336.1 kB / 1.175 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.2801, allocations: 55.41 kB / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.2802, allocations: 160.9 kB / 1.176 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.2803, allocations: 25.7 kB / 1.176 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.383e-05/0.2803, allocations: 116.3 kB / 1.176 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.565e-05/0.2804, allocations: 63.47 kB / 1.176 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.95e-05/0.2805, allocations: 41.7 kB / 1.176 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.864e-05/0.2806, allocations: 318.8 kB / 1.176 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003647/0.2809, allocations: 107.9 kB / 1.176 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003696/0.2813, allocations: 124.3 kB / 1.176 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006662/0.282, allocations: 197.6 kB / 1.177 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.282, allocations: 0 / 1.177 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007978/0.2828, allocations: 275.3 kB / 1.177 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.2828, allocations: 4 kB / 1.177 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.2828, allocations: 0 / 1.177 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.2829, allocations: 7.938 kB / 1.177 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003523/0.2832, allocations: 55.83 kB / 1.177 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.2832, allocations: 0 / 1.177 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002817/0.2835, allocations: 39.86 kB / 1.177 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.2836, allocations: 4 kB / 1.177 GB, free: 11.67 MB / 0.9356 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.000105/0.2837, allocations: 129.8 kB / 1.177 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.2837, allocations: 11.91 kB / 1.177 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008308/0.2846, allocations: 274.4 kB / 1.177 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.2846, allocations: 3.938 kB / 1.177 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.2846, allocations: 8 kB / 1.177 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2846, allocations: 0 / 1.177 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/0.2863, allocations: 1.081 MB / 1.178 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.2863, allocations: 3.938 kB / 1.178 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003096/0.2867, allocations: 40.03 kB / 1.179 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.2867, allocations: 4 kB / 1.179 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.2867, allocations: 4 kB / 1.179 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.2867, allocations: 4 kB / 1.179 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2867, allocations: 0 / 1.179 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007863/0.2875, allocations: 351.4 kB / 1.179 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.661e-05/0.2876, allocations: 96.94 kB / 1.179 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.409e-05/0.2876, allocations: 0 / 1.179 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003201/0.2879, allocations: 23.97 kB / 1.179 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.288, allocations: 11.98 kB / 1.179 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.288, allocations: 11.98 kB / 1.179 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.958e-05/0.2881, allocations: 121.9 kB / 1.179 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2881, allocations: 0 / 1.179 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004209/0.2885, allocations: 135.5 kB / 1.179 GB, free: 9.172 MB / 0.9356 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.0004103/0.2889, allocations: 230.7 kB / 1.179 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007838/0.2897, allocations: 235.8 kB / 1.18 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2898, allocations: 0 / 1.18 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003641/0.2901, allocations: 112.1 kB / 1.18 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.2905, allocations: 53.72 kB / 1.18 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002052/0.2926, allocations: 480.1 kB / 1.18 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.2929, allocations: 0.7125 MB / 1.181 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001714/0.293, allocations: 33.48 kB / 1.181 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.393e-05/0.2931, allocations: 19.44 kB / 1.181 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.2931, allocations: 4 kB / 1.181 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of Templates: time 0.007722/0.3009, allocations: 4.558 MB / 1.186 GB, free: 2.738 MB / 0.9356 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