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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.000944/0.0009442, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 181.8 kB / 16.92 MB, free: 6.918 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.522/1.522, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.534/2.534, allocations: 437.8 MB / 0.7128 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003906/0.0003908, allocations: 8 kB / 0.8735 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7151/0.7155, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002155/0.7177, allocations: 1.753 MB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002477/0.7202, allocations: 1.715 MB / 1.027 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.508e-05/0.7203, allocations: 4 kB / 1.027 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.059e-05/0.7203, allocations: 15.84 kB / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.7204, allocations: 43.67 kB / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008132/0.7212, allocations: 295.2 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.7215, allocations: 219.1 kB / 1.028 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.7216, allocations: 41.53 kB / 1.028 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.759e-05/0.7217, allocations: 75.77 kB / 1.028 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.7219, allocations: 79.67 kB / 1.028 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.7219, allocations: 12 kB / 1.028 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007119/0.7226, allocations: 391.5 kB / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.856e-05/0.7227, allocations: 35.89 kB / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.689e-05/0.7228, allocations: 105.4 kB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003772/0.7232, allocations: 321.2 kB / 1.029 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.7232, allocations: 0 / 1.029 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.994e-06/0.7232, allocations: 0 / 1.029 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.7232, allocations: 0 / 1.029 GB, free: 10.78 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.0007679/0.724, allocations: 0.4952 MB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.724, allocations: 12.03 kB / 1.029 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.7251, allocations: 144.6 kB / 1.029 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.7253, allocations: 180.1 kB / 1.029 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.231e-05/0.7254, allocations: 50.25 kB / 1.029 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.84e-05/0.7254, allocations: 16.38 kB / 1.03 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005464/0.726, allocations: 225.7 kB / 1.03 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.726, allocations: 3.938 kB / 1.03 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.726, allocations: 8 kB / 1.03 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.726, allocations: 8 kB / 1.03 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007232/0.7267, allocations: 231.9 kB / 1.03 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.7281, allocations: 0.9662 MB / 1.031 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004876/0.7286, allocations: 186.5 kB / 1.031 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003401/0.729, allocations: 113.1 kB / 1.031 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006358/0.7296, allocations: 0.5298 MB / 1.032 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.7297, allocations: 34.5 kB / 1.032 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 2.064e-06/0.7297, allocations: 0 / 1.032 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.001142/0.7308, allocations: 335.9 kB / 1.032 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.7309, allocations: 55.41 kB / 1.032 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.731, allocations: 160 kB / 1.032 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.731, allocations: 33.7 kB / 1.032 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.321e-05/0.7311, allocations: 124 kB / 1.032 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.7312, allocations: 51.3 kB / 1.032 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.7312, allocations: 17.72 kB / 1.032 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.7313, allocations: 326.8 kB / 1.033 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003446/0.7317, allocations: 107.9 kB / 1.033 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000346/0.732, allocations: 125 kB / 1.033 GB, free: 5.887 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006652/0.7327, allocations: 205.6 kB / 1.033 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.7327, allocations: 0 / 1.033 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000772/0.7335, allocations: 276 kB / 1.033 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.7335, allocations: 4 kB / 1.033 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.7335, allocations: 4 kB / 1.033 GB, free: 5.398 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.7336, allocations: 4.031 kB / 1.033 GB, free: 5.395 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003582/0.7339, allocations: 51.84 kB / 1.034 GB, free: 5.344 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.7339, allocations: 11.92 kB / 1.034 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002848/0.7342, allocations: 35.81 kB / 1.034 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.7343, allocations: 8 kB / 1.034 GB, free: 5.289 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.0001156/0.7344, allocations: 126.3 kB / 1.034 GB, free: 5.156 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.055e-05/0.7344, allocations: 19.8 kB / 1.034 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008193/0.7353, allocations: 266.7 kB / 1.034 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.7353, allocations: 0 / 1.034 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.7353, allocations: 3.938 kB / 1.034 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.7353, allocations: 0 / 1.034 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00171/0.737, allocations: 1.074 MB / 1.035 GB, free: 3.633 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.737, allocations: 0 / 1.035 GB, free: 3.633 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003026/0.7373, allocations: 47.91 kB / 1.035 GB, free: 3.586 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.7373, allocations: 4 kB / 1.035 GB, free: 3.582 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.7374, allocations: 8.047 kB / 1.035 GB, free: 3.574 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.7374, allocations: 0 / 1.035 GB, free: 3.574 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.7374, allocations: 4 kB / 1.035 GB, free: 3.57 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000758/0.7381, allocations: 351 kB / 1.035 GB, free: 3.207 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.7382, allocations: 104.9 kB / 1.036 GB, free: 3.086 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.746e-05/0.7383, allocations: 8 kB / 1.036 GB, free: 3.078 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003159/0.7386, allocations: 19.97 kB / 1.036 GB, free: 3.059 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.7386, allocations: 15.98 kB / 1.036 GB, free: 3.043 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.7387, allocations: 7.984 kB / 1.036 GB, free: 3.035 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.535e-05/0.7387, allocations: 122.1 kB / 1.036 GB, free: 2.918 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7387, allocations: 3.938 kB / 1.036 GB, free: 2.914 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000485/0.7392, allocations: 139.8 kB / 1.036 GB, free: 2.777 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.0004363/0.7397, allocations: 227 kB / 1.036 GB, free: 2.547 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007579/0.7404, allocations: 227.8 kB / 1.036 GB, free: 2.324 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.7405, allocations: 4 kB / 1.036 GB, free: 2.32 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003442/0.7408, allocations: 116.1 kB / 1.036 GB, free: 2.207 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.7412, allocations: 49.62 kB / 1.036 GB, free: 2.16 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.7434, allocations: 0.5694 MB / 1.037 GB, free: 1.551 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.7437, allocations: 0.7089 MB / 1.038 GB, free: 0.8164 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.7438, allocations: 27.42 kB / 1.038 GB, free: 0.7891 MB / 0.7794 GB Notification: Performance of SimCode: time 3.51e-07/0.7438, allocations: 0 / 1.038 GB, free: 0.7891 MB / 0.7794 GB Notification: Performance of Templates: time 0.006319/0.7502, allocations: 4.121 MB / 1.042 GB, free: 12.69 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/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