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.001545/0.001545, allocations: 103.4 kB / 16.27 MB, free: 6.414 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.001506/0.001506, allocations: 189.4 kB / 17.2 MB, free: 5.953 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.401/1.401, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.563/2.563, allocations: 437.1 MB / 0.7111 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 59.81 kB / 0.8699 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.35, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003745/0.3538, allocations: 2.045 MB / 1.02 GB, free: 8.57 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002708/0.3565, allocations: 1.664 MB / 1.022 GB, free: 6.898 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.079e-05/0.3566, allocations: 0 / 1.022 GB, free: 6.898 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 6.923e-05/0.3567, allocations: 23.78 kB / 1.022 GB, free: 6.875 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.3568, allocations: 47.55 kB / 1.022 GB, free: 6.828 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.3578, allocations: 366.8 kB / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.3581, allocations: 223.2 kB / 1.022 GB, free: 6.25 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.3582, allocations: 53.42 kB / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.3584, allocations: 91.72 kB / 1.022 GB, free: 6.102 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.3585, allocations: 95.64 kB / 1.022 GB, free: 6.008 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.704e-05/0.3586, allocations: 20 kB / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008074/0.3594, allocations: 391.5 kB / 1.023 GB, free: 5.605 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.789e-05/0.3595, allocations: 43.91 kB / 1.023 GB, free: 5.562 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.3596, allocations: 91.64 kB / 1.023 GB, free: 5.473 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006125/0.3602, allocations: 435.2 kB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3602, allocations: 0 / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3602, allocations: 0 / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.3602, allocations: 4 kB / 1.023 GB, free: 5.043 MB / 0.795 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.0009527/0.3612, allocations: 0.5148 MB / 1.024 GB, free: 4.477 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.3612, allocations: 8.922 kB / 1.024 GB, free: 4.469 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/0.3624, allocations: 140.6 kB / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.3626, allocations: 188 kB / 1.024 GB, free: 4.109 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.3627, allocations: 50.25 kB / 1.024 GB, free: 4.055 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.3627, allocations: 12.38 kB / 1.024 GB, free: 4.043 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000602/0.3633, allocations: 227.3 kB / 1.025 GB, free: 3.816 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.3633, allocations: 7.875 kB / 1.025 GB, free: 3.809 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.666e-05/0.3634, allocations: 4 kB / 1.025 GB, free: 3.805 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.3634, allocations: 4 kB / 1.025 GB, free: 3.801 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007673/0.3642, allocations: 235.9 kB / 1.025 GB, free: 3.57 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/0.3658, allocations: 0.9661 MB / 1.026 GB, free: 2.484 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005148/0.3663, allocations: 190.5 kB / 1.026 GB, free: 2.289 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003738/0.3667, allocations: 116.8 kB / 1.026 GB, free: 2.172 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007229/0.3674, allocations: 0.5181 MB / 1.026 GB, free: 1.543 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.547e-05/0.3675, allocations: 34.56 kB / 1.027 GB, free: 1.5 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 1.382e-06/0.3675, allocations: 0 / 1.027 GB, free: 1.5 MB / 0.795 GB Notification: Performance of matching and sorting (n=16): time 0.001219/0.3687, allocations: 333.5 kB / 1.027 GB, free: 1.168 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.3687, allocations: 55.41 kB / 1.027 GB, free: 1.102 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.3689, allocations: 157.1 kB / 1.027 GB, free: 0.9414 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.068e-05/0.369, allocations: 29.7 kB / 1.027 GB, free: 0.9062 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.3691, allocations: 120.1 kB / 1.027 GB, free: 0.7812 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.628e-05/0.3691, allocations: 59.19 kB / 1.027 GB, free: 0.7227 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.6e-05/0.3692, allocations: 37.7 kB / 1.027 GB, free: 0.6797 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3694, allocations: 326.8 kB / 1.028 GB, free: 360 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003775/0.3698, allocations: 103.9 kB / 1.028 GB, free: 256 kB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003933/0.3702, allocations: 127.3 kB / 1.028 GB, free: 124 kB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007107/0.3709, allocations: 196.7 kB / 1.028 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3709, allocations: 4 kB / 1.028 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008451/0.3717, allocations: 269.4 kB / 1.028 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.3718, allocations: 4 kB / 1.028 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.3718, allocations: 0 / 1.028 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.3718, allocations: 0 / 1.028 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003777/0.3722, allocations: 59.83 kB / 1.028 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.3722, allocations: 11.92 kB / 1.028 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002866/0.3725, allocations: 31.81 kB / 1.028 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.3725, allocations: 8 kB / 1.028 GB, free: 15.54 MB / 0.8106 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.0001439/0.3727, allocations: 125.8 kB / 1.028 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.187e-05/0.3727, allocations: 15.81 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008864/0.3736, allocations: 269.2 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.3737, allocations: 3.938 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3737, allocations: 0 / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.3737, allocations: 3.984 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001953/0.3756, allocations: 1.063 MB / 1.03 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.3756, allocations: 15.81 kB / 1.03 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003178/0.376, allocations: 40.03 kB / 1.03 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.376, allocations: 0 / 1.03 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.376, allocations: 8 kB / 1.03 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.376, allocations: 0 / 1.03 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.376, allocations: 4 kB / 1.03 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000838/0.3769, allocations: 348.9 kB / 1.03 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.424e-05/0.3769, allocations: 92.86 kB / 1.03 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.084e-05/0.377, allocations: 8 kB / 1.03 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003284/0.3773, allocations: 23.97 kB / 1.03 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.3774, allocations: 15.98 kB / 1.03 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/0.3774, allocations: 11.98 kB / 1.03 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.407e-05/0.3775, allocations: 113.1 kB / 1.03 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3775, allocations: 0 / 1.03 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004833/0.378, allocations: 135.8 kB / 1.031 GB, free: 13.05 MB / 0.8106 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.0004689/0.3785, allocations: 234.9 kB / 1.031 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0008671/0.3793, allocations: 235.8 kB / 1.031 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3794, allocations: 0 / 1.031 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003755/0.3797, allocations: 114.1 kB / 1.031 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.3802, allocations: 47.91 kB / 1.031 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/0.3824, allocations: 0.5096 MB / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.3828, allocations: 0.7086 MB / 1.032 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.383, allocations: 27.42 kB / 1.032 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of SimCode: time 5.61e-07/0.383, allocations: 0 / 1.032 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of Templates: time 0.007496/0.3905, allocations: 4.145 MB / 1.036 GB, free: 7 MB / 0.8106 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=400 -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/jenkins1/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