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.001317/0.001317, allocations: 108 kB / 15.6 MB, free: 132 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.001307/0.001307, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.454/1.454, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.748/2.748, allocations: 437 MB / 0.7104 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002059, allocations: 68.12 kB / 0.8692 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5795/0.5815, allocations: 151.6 MB / 1.017 GB, free: 2.551 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003659/0.5852, allocations: 2.043 MB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002613/0.5879, allocations: 1.664 MB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.204e-05/0.588, allocations: 8 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.986e-05/0.5881, allocations: 19.78 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.5882, allocations: 51.55 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.5892, allocations: 366.8 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002369/0.5895, allocations: 227.2 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.5896, allocations: 41.53 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.5897, allocations: 91.7 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.5899, allocations: 95.66 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.359e-05/0.5899, allocations: 20 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007781/0.5907, allocations: 395.5 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.336e-05/0.5908, allocations: 39.91 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.5909, allocations: 99.62 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006007/0.5915, allocations: 432.9 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.5915, allocations: 4 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5915, allocations: 0 / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.5915, allocations: 0 / 1.023 GB, free: 12.96 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.0009559/0.5925, allocations: 0.5201 MB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.5925, allocations: 12.03 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/0.5937, allocations: 136.6 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.5939, allocations: 180.1 kB / 1.024 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.731e-05/0.594, allocations: 50.25 kB / 1.024 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.594, allocations: 16.38 kB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005956/0.5946, allocations: 221.8 kB / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.5946, allocations: 3.938 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.048e-05/0.5947, allocations: 11.98 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.5947, allocations: 4 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007863/0.5955, allocations: 231.9 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001537/0.597, allocations: 0.97 MB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005225/0.5975, allocations: 184.9 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003741/0.5979, allocations: 113.1 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007272/0.5987, allocations: 0.522 MB / 1.026 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.5987, allocations: 30.56 kB / 1.026 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.5987, allocations: 4 kB / 1.026 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.001237/0.6, allocations: 333.3 kB / 1.026 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.6, allocations: 55.41 kB / 1.026 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.6002, allocations: 164.2 kB / 1.026 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.892e-05/0.6002, allocations: 33.64 kB / 1.026 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.251e-05/0.6003, allocations: 116.2 kB / 1.027 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.116e-05/0.6004, allocations: 55.19 kB / 1.027 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.563e-05/0.6005, allocations: 41.7 kB / 1.027 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.6007, allocations: 322.8 kB / 1.027 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003797/0.601, allocations: 107.9 kB / 1.027 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004015/0.6015, allocations: 126.8 kB / 1.027 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007068/0.6022, allocations: 196.4 kB / 1.027 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6022, allocations: 0 / 1.027 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008548/0.603, allocations: 265.3 kB / 1.028 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.6031, allocations: 9.594 kB / 1.028 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.6031, allocations: 3.984 kB / 1.028 GB, free: 7.566 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.6031, allocations: 4 kB / 1.028 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/0.6035, allocations: 55.84 kB / 1.028 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.6035, allocations: 0 / 1.028 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002959/0.6038, allocations: 35.81 kB / 1.028 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.6038, allocations: 8 kB / 1.028 GB, free: 7.465 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.0001862/0.604, allocations: 125.8 kB / 1.028 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.521e-05/0.6041, allocations: 19.75 kB / 1.028 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009129/0.605, allocations: 266.7 kB / 1.028 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.605, allocations: 7.938 kB / 1.028 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.605, allocations: 0 / 1.028 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.605, allocations: 3.984 kB / 1.028 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/0.607, allocations: 1.058 MB / 1.029 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.607, allocations: 3.938 kB / 1.029 GB, free: 5.812 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003261/0.6073, allocations: 43.91 kB / 1.029 GB, free: 5.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.6074, allocations: 4 kB / 1.029 GB, free: 5.766 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.6074, allocations: 8.047 kB / 1.029 GB, free: 5.758 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.6074, allocations: 4 kB / 1.029 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6074, allocations: 0 / 1.029 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008601/0.6083, allocations: 350.2 kB / 1.03 GB, free: 5.391 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.06e-05/0.6083, allocations: 100.8 kB / 1.03 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.059e-05/0.6084, allocations: 7.984 kB / 1.03 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003277/0.6087, allocations: 15.98 kB / 1.03 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.6088, allocations: 19.97 kB / 1.03 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.6088, allocations: 4 kB / 1.03 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001016/0.6089, allocations: 121.1 kB / 1.03 GB, free: 5.109 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6089, allocations: 4 kB / 1.03 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004494/0.6094, allocations: 131.9 kB / 1.03 GB, free: 4.977 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.0004441/0.6098, allocations: 231 kB / 1.03 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008446/0.6107, allocations: 234.2 kB / 1.03 GB, free: 4.516 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.6107, allocations: 0 / 1.03 GB, free: 4.516 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003928/0.6111, allocations: 120 kB / 1.03 GB, free: 4.398 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.6115, allocations: 47.91 kB / 1.031 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/0.6138, allocations: 489.4 kB / 1.031 GB, free: 3.84 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.6142, allocations: 0.7047 MB / 1.032 GB, free: 3.105 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001987/0.6144, allocations: 37.23 kB / 1.032 GB, free: 3.074 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.728e-05/0.6145, allocations: 27.42 kB / 1.032 GB, free: 3.047 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.6145, allocations: 0 / 1.032 GB, free: 3.047 MB / 0.7794 GB Notification: Performance of Templates: time 0.009036/0.6235, allocations: 4.52 MB / 1.036 GB, free: 14.57 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