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.00153/0.00153, allocations: 100.1 kB / 15.88 MB, free: 12 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.002089/0.002089, allocations: 196 kB / 16.79 MB, free: 6.809 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.35/1.35, allocations: 222.9 MB / 240.5 MB, free: 4.602 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.569/2.569, allocations: 437 MB / 0.7106 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 67.88 kB / 0.8692 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7232/0.7247, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003704/0.7284, allocations: 2.1 MB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002706/0.7312, allocations: 1.754 MB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.7313, allocations: 0 / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.273e-05/0.7315, allocations: 11.91 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.7317, allocations: 43.62 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.7328, allocations: 295.2 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000276/0.7331, allocations: 219.1 kB / 1.022 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.7332, allocations: 41.53 kB / 1.022 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.7334, allocations: 75.78 kB / 1.022 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.7336, allocations: 91.66 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.63e-05/0.7336, allocations: 12 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008625/0.7345, allocations: 395.4 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.02e-05/0.7345, allocations: 39.88 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.7347, allocations: 87.66 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000514/0.7352, allocations: 317.3 kB / 1.023 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.7352, allocations: 3.984 kB / 1.023 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.012e-06/0.7352, allocations: 0 / 1.023 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.7352, allocations: 0 / 1.023 GB, free: 13.28 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.0009626/0.7362, allocations: 0.5226 MB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.7362, allocations: 8.031 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/0.7373, allocations: 136.6 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.7375, allocations: 180.1 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001483/0.7376, allocations: 50.25 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.564e-05/0.7377, allocations: 20.31 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00058/0.7383, allocations: 217.8 kB / 1.024 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.7383, allocations: 3.938 kB / 1.024 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.082e-05/0.7383, allocations: 12 kB / 1.024 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.7383, allocations: 4 kB / 1.024 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007001/0.7391, allocations: 235.8 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001575/0.7406, allocations: 0.9662 MB / 1.025 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004714/0.7411, allocations: 178.5 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000326/0.7415, allocations: 117 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000634/0.7421, allocations: 0.5259 MB / 1.026 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.7422, allocations: 34.56 kB / 1.026 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 2.464e-06/0.7422, allocations: 0 / 1.026 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.001139/0.7433, allocations: 331.9 kB / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.7434, allocations: 55.39 kB / 1.026 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.7435, allocations: 155.7 kB / 1.026 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.7436, allocations: 29.7 kB / 1.026 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.202e-05/0.7437, allocations: 124.1 kB / 1.026 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.644e-05/0.7437, allocations: 51.2 kB / 1.026 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.224e-05/0.7438, allocations: 45.64 kB / 1.026 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.744, allocations: 330.8 kB / 1.027 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/0.7443, allocations: 99.88 kB / 1.027 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003476/0.7447, allocations: 128.6 kB / 1.027 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006041/0.7453, allocations: 193.6 kB / 1.027 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.7453, allocations: 0 / 1.027 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007605/0.7461, allocations: 275.4 kB / 1.027 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.7461, allocations: 5.719 kB / 1.027 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.7461, allocations: 4 kB / 1.027 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.7461, allocations: 3.938 kB / 1.027 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003603/0.7465, allocations: 55.83 kB / 1.028 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.7465, allocations: 8 kB / 1.028 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002867/0.7468, allocations: 35.81 kB / 1.028 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.7468, allocations: 4 kB / 1.028 GB, free: 7.781 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.0001241/0.747, allocations: 122.4 kB / 1.028 GB, free: 7.652 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.696e-05/0.747, allocations: 15.81 kB / 1.028 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008127/0.7478, allocations: 266.6 kB / 1.028 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.7479, allocations: 7.938 kB / 1.028 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.7479, allocations: 0 / 1.028 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.7479, allocations: 3.984 kB / 1.028 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/0.7497, allocations: 1.07 MB / 1.029 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.7497, allocations: 3.938 kB / 1.029 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003053/0.75, allocations: 47.97 kB / 1.029 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.75, allocations: 0 / 1.029 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.75, allocations: 4 kB / 1.029 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.75, allocations: 3.984 kB / 1.029 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.75, allocations: 0 / 1.029 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007535/0.7508, allocations: 346.6 kB / 1.029 GB, free: 5.715 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.794e-05/0.7509, allocations: 100.8 kB / 1.029 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.955e-05/0.7509, allocations: 0 / 1.029 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003091/0.7512, allocations: 27.97 kB / 1.03 GB, free: 5.57 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.7513, allocations: 15.92 kB / 1.03 GB, free: 5.555 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.7513, allocations: 11.92 kB / 1.03 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.518e-05/0.7514, allocations: 125.5 kB / 1.03 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7514, allocations: 0 / 1.03 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004822/0.7519, allocations: 127.9 kB / 1.03 GB, free: 5.297 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.000511/0.7524, allocations: 223 kB / 1.03 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007911/0.7532, allocations: 227.8 kB / 1.03 GB, free: 4.848 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.7532, allocations: 0 / 1.03 GB, free: 4.848 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003539/0.7536, allocations: 112.1 kB / 1.03 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004744/0.7541, allocations: 55.84 kB / 1.03 GB, free: 4.684 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.7562, allocations: 0.5466 MB / 1.031 GB, free: 4.098 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.7565, allocations: 0.7089 MB / 1.032 GB, free: 3.363 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.7566, allocations: 35.42 kB / 1.032 GB, free: 3.328 MB / 0.7794 GB Notification: Performance of SimCode: time 1.102e-06/0.7566, allocations: 0 / 1.032 GB, free: 3.328 MB / 0.7794 GB Notification: Performance of Templates: time 0.00734/0.764, allocations: 4.126 MB / 1.036 GB, free: 15.23 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