Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00105/0.00105, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009099/0.009099, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.39/1.39, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.375/2.375, allocations: 390.9 MB / 0.6663 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0006429/0.000643, allocations: 12 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6833/0.684, allocations: 142.4 MB / 0.955 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002192/0.6862, allocations: 1.75 MB / 0.9567 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002359/0.6886, allocations: 1.709 MB / 0.9584 GB, free: 5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.56e-05/0.6887, allocations: 1.781 kB / 0.9584 GB, free: 5 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.468e-05/0.6888, allocations: 17.72 kB / 0.9584 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.6889, allocations: 42.81 kB / 0.9585 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009711/0.6899, allocations: 294 kB / 0.9588 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002361/0.6901, allocations: 225.4 kB / 0.959 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.6903, allocations: 44.02 kB / 0.959 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.6904, allocations: 73.27 kB / 0.9591 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.6906, allocations: 84.17 kB / 0.9592 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.091e-05/0.6907, allocations: 11.22 kB / 0.9592 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008074/0.6915, allocations: 387.6 kB / 0.9595 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.159e-05/0.6915, allocations: 38.39 kB / 0.9596 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.6916, allocations: 106.3 kB / 0.9597 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006128/0.6923, allocations: 425.8 kB / 0.9601 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.6923, allocations: 1.375 kB / 0.9601 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.422e-06/0.6923, allocations: 3.938 kB / 0.9601 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.794e-06/0.6923, allocations: 0 / 0.9601 GB, free: 3.926 MB / 0.7169 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.0008891/0.6932, allocations: 0.4921 MB / 0.9606 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.6932, allocations: 9.625 kB / 0.9606 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/0.6944, allocations: 144.8 kB / 0.9607 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.6946, allocations: 177 kB / 0.9609 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.735e-05/0.6947, allocations: 51.31 kB / 0.9609 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.528e-05/0.6947, allocations: 18.59 kB / 0.961 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005957/0.6953, allocations: 220.6 kB / 0.9612 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.6954, allocations: 3.938 kB / 0.9612 GB, free: 3 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.6954, allocations: 6.281 kB / 0.9612 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.6954, allocations: 7.25 kB / 0.9612 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007686/0.6962, allocations: 239.2 kB / 0.9614 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.6976, allocations: 0.9709 MB / 0.9624 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004836/0.6981, allocations: 188.7 kB / 0.9625 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003727/0.6984, allocations: 113.1 kB / 0.9626 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006109/0.6991, allocations: 0.5284 MB / 0.9632 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.6991, allocations: 35.59 kB / 0.9632 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.763e-06/0.6991, allocations: 1.219 kB / 0.9632 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.001298/0.7004, allocations: 331.8 kB / 0.9635 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.7005, allocations: 54.22 kB / 0.9636 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.7006, allocations: 162.1 kB / 0.9637 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.7007, allocations: 30.98 kB / 0.9638 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.362e-05/0.7007, allocations: 123.2 kB / 0.9639 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.735e-05/0.7008, allocations: 49.64 kB / 0.9639 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.916e-05/0.7009, allocations: 26.7 kB / 0.9639 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.974e-05/0.701, allocations: 322.5 kB / 0.9642 GB, free: 208 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004012/0.7014, allocations: 109.9 kB / 0.9644 GB, free: 152 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003987/0.7018, allocations: 117.1 kB / 0.9645 GB, free: 88 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007563/0.7025, allocations: 205.6 kB / 0.9647 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.7026, allocations: 0 / 0.9647 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0009334/0.7035, allocations: 276.9 kB / 0.9649 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.7035, allocations: 3.938 kB / 0.9649 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.7035, allocations: 6.719 kB / 0.9649 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.7036, allocations: 0 / 0.9649 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003831/0.704, allocations: 54.98 kB / 0.965 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.704, allocations: 3.938 kB / 0.965 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003139/0.7043, allocations: 34.48 kB / 0.965 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.7043, allocations: 10.67 kB / 0.965 GB, free: 15.79 MB / 0.7325 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.0001383/0.7045, allocations: 129 kB / 0.9652 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.725e-05/0.7045, allocations: 13.16 kB / 0.9652 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008833/0.7054, allocations: 275 kB / 0.9654 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.7054, allocations: 1.344 kB / 0.9654 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.7054, allocations: 5.281 kB / 0.9654 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.7055, allocations: 0 / 0.9654 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002002/0.7075, allocations: 1.075 MB / 0.9665 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.7075, allocations: 4.984 kB / 0.9665 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003268/0.7078, allocations: 41.84 kB / 0.9665 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.7078, allocations: 6.469 kB / 0.9665 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.7079, allocations: 5.406 kB / 0.9665 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.7079, allocations: 1.781 kB / 0.9665 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.7079, allocations: 1 kB / 0.9665 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008616/0.7087, allocations: 359 kB / 0.9669 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.137e-05/0.7088, allocations: 97.62 kB / 0.967 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.11e-05/0.7089, allocations: 5.969 kB / 0.967 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003436/0.7092, allocations: 25.97 kB / 0.967 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.7093, allocations: 13.8 kB / 0.967 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.7093, allocations: 5.125 kB / 0.967 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.38e-05/0.7094, allocations: 125.9 kB / 0.9672 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7094, allocations: 0 / 0.9672 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005318/0.71, allocations: 133.9 kB / 0.9673 GB, free: 13.9 MB / 0.7325 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.0005278/0.7105, allocations: 225.5 kB / 0.9675 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000818/0.7113, allocations: 233.2 kB / 0.9677 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.7113, allocations: 0 / 0.9677 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003722/0.7117, allocations: 119.8 kB / 0.9678 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/0.7122, allocations: 49.91 kB / 0.9679 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.7145, allocations: 0.544 MB / 0.9684 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.7148, allocations: 0.7152 MB / 0.9691 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002236/0.715, allocations: 36.75 kB / 0.9691 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.509e-05/0.7151, allocations: 18.72 kB / 0.9692 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/0.7151, allocations: 0 / 0.9692 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of Templates: time 0.01012/0.7252, allocations: 4.379 MB / 0.9734 GB, free: 10.25 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches