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.001314/0.001314, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001364/0.001364, allocations: 196.4 kB / 16.26 MB, free: 6.625 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.463/1.463, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.847/2.847, allocations: 437 MB / 0.7101 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 64.08 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5823/0.5843, allocations: 151.6 MB / 1.017 GB, free: 2.832 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003311/0.5876, allocations: 2.108 MB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002499/0.5901, allocations: 1.648 MB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.375e-05/0.5902, allocations: 4 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.354e-05/0.5903, allocations: 19.84 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.5904, allocations: 47.66 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008921/0.5913, allocations: 319.2 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00025/0.5916, allocations: 235 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.5917, allocations: 45.53 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.5919, allocations: 83.78 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.592, allocations: 99.64 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.128e-05/0.5921, allocations: 20 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007469/0.5928, allocations: 411.5 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.58e-05/0.5929, allocations: 43.89 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.593, allocations: 91.66 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000668/0.5937, allocations: 440.9 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.5937, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5937, allocations: 3.938 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.5937, allocations: 4 kB / 1.022 GB, free: 13.22 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.0009174/0.5946, allocations: 0.5147 MB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.5947, allocations: 8.031 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/0.5959, allocations: 140.6 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.596, allocations: 180.1 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.448e-05/0.5961, allocations: 50.25 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.616e-05/0.5962, allocations: 16.38 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005873/0.5968, allocations: 217.8 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.5968, allocations: 11.88 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.605e-05/0.5968, allocations: 4 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.5968, allocations: 4 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007425/0.5976, allocations: 235.9 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.5991, allocations: 0.9661 MB / 1.025 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004935/0.5996, allocations: 182.6 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003721/0.6, allocations: 109.1 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007265/0.6008, allocations: 0.5259 MB / 1.025 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.6008, allocations: 38.5 kB / 1.025 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.382e-06/0.6008, allocations: 4 kB / 1.025 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.001159/0.602, allocations: 331 kB / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.602, allocations: 51.41 kB / 1.026 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.6022, allocations: 164.5 kB / 1.026 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.854e-05/0.6022, allocations: 25.7 kB / 1.026 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.664e-05/0.6023, allocations: 120.2 kB / 1.026 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.474e-05/0.6024, allocations: 55.19 kB / 1.026 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.711e-05/0.6025, allocations: 37.7 kB / 1.026 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.6027, allocations: 330.8 kB / 1.026 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000348/0.603, allocations: 103.9 kB / 1.027 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003695/0.6034, allocations: 133.5 kB / 1.027 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006665/0.6041, allocations: 193.6 kB / 1.027 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6041, allocations: 4 kB / 1.027 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008016/0.6049, allocations: 271.4 kB / 1.027 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.6049, allocations: 8 kB / 1.027 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.6049, allocations: 0 / 1.027 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.6049, allocations: 3.984 kB / 1.027 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003822/0.6053, allocations: 55.91 kB / 1.027 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.6054, allocations: 7.938 kB / 1.027 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002909/0.6057, allocations: 35.75 kB / 1.027 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.6057, allocations: 4 kB / 1.027 GB, free: 7.723 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.0001331/0.6058, allocations: 125.8 kB / 1.027 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.25e-05/0.6059, allocations: 15.81 kB / 1.027 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008517/0.6067, allocations: 268.6 kB / 1.028 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.6068, allocations: 7.938 kB / 1.028 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6068, allocations: 0 / 1.028 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.6068, allocations: 3.984 kB / 1.028 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001939/0.6087, allocations: 1.058 MB / 1.029 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.6087, allocations: 3.938 kB / 1.029 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003323/0.6091, allocations: 44.03 kB / 1.029 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.6091, allocations: 0 / 1.029 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.6091, allocations: 7.984 kB / 1.029 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.6091, allocations: 3.938 kB / 1.029 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.6091, allocations: 0 / 1.029 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008225/0.61, allocations: 353 kB / 1.029 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.059e-05/0.61, allocations: 96.8 kB / 1.029 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/0.6101, allocations: 7.984 kB / 1.029 GB, free: 5.531 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003397/0.6104, allocations: 19.98 kB / 1.029 GB, free: 5.512 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.6105, allocations: 15.97 kB / 1.029 GB, free: 5.496 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.6105, allocations: 8 kB / 1.029 GB, free: 5.488 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001057/0.6106, allocations: 125.4 kB / 1.029 GB, free: 5.367 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6106, allocations: 0 / 1.029 GB, free: 5.367 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004641/0.6111, allocations: 131.9 kB / 1.029 GB, free: 5.238 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.0004625/0.6116, allocations: 219.6 kB / 1.03 GB, free: 5.016 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008254/0.6124, allocations: 235.8 kB / 1.03 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.6124, allocations: 0 / 1.03 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003662/0.6128, allocations: 119.9 kB / 1.03 GB, free: 4.668 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.6132, allocations: 47.92 kB / 1.03 GB, free: 4.621 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.6154, allocations: 0.5248 MB / 1.031 GB, free: 4.062 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.6158, allocations: 0.7086 MB / 1.031 GB, free: 3.328 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002126/0.6161, allocations: 29.53 kB / 1.031 GB, free: 3.301 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.627e-05/0.6162, allocations: 23.42 kB / 1.031 GB, free: 3.277 MB / 0.7794 GB Notification: Performance of SimCode: time 4.9e-07/0.6162, allocations: 0 / 1.031 GB, free: 3.277 MB / 0.7794 GB Notification: Performance of Templates: time 0.009167/0.6253, allocations: 4.526 MB / 1.036 GB, free: 14.79 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=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/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