Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.309/2.309, allocations: 390.5 MB / 398 MB, free: 10.95 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 180.9 kB / 491.2 MB, free: 1.562 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.688/1.688, allocations: 221.5 MB / 0.7868 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001207, allocations: 105.3 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.833e-05/1.834e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3144, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.009/1.323, allocations: 156 MB / 1.365 GB, free: 17.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002081/1.323, allocations: 84.61 kB / 1.365 GB, free: 17.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02155/1.345, allocations: 8.232 MB / 1.373 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.663e-06/1.345, allocations: 0 / 1.373 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.514e-06/1.345, allocations: 7.844 kB / 1.373 GB, free: 32.83 MB / 0.8386 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.0008179/1.346, allocations: 0.492 MB / 1.373 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/1.346, allocations: 10.97 kB / 1.373 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001217/1.347, allocations: 144.2 kB / 1.373 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/1.347, allocations: 181.3 kB / 1.374 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.571e-05/1.347, allocations: 43.64 kB / 1.374 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/1.347, allocations: 11.72 kB / 1.374 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003389/1.348, allocations: 168 kB / 1.374 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000311/1.348, allocations: 165.2 kB / 1.374 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/1.348, allocations: 0 / 1.374 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/1.348, allocations: 0 / 1.374 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/1.348, allocations: 7.766 kB / 1.374 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/1.349, allocations: 0.9357 MB / 1.375 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/1.35, allocations: 139.7 kB / 1.375 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.948e-05/1.35, allocations: 80.89 kB / 1.375 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005215/1.35, allocations: 0.5172 MB / 1.376 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/1.35, allocations: 40.78 kB / 1.376 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.402e-06/1.35, allocations: 3.938 kB / 1.376 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.001292/1.352, allocations: 294.5 kB / 1.376 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/1.352, allocations: 53.84 kB / 1.376 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.843e-05/1.352, allocations: 118 kB / 1.376 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/1.352, allocations: 25.7 kB / 1.376 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.874e-05/1.352, allocations: 126 kB / 1.376 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/1.352, allocations: 51.19 kB / 1.376 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.339e-05/1.352, allocations: 0 / 1.376 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001035/1.352, allocations: 320 kB / 1.377 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/1.352, allocations: 71.25 kB / 1.377 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/1.352, allocations: 92.42 kB / 1.377 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/1.353, allocations: 176.2 kB / 1.377 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.353, allocations: 0 / 1.377 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001189/1.355, allocations: 321.7 kB / 1.377 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/1.355, allocations: 7.875 kB / 1.377 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.355, allocations: 0 / 1.377 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/1.355, allocations: 3.812 kB / 1.377 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003434/1.355, allocations: 53.23 kB / 1.377 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/1.355, allocations: 3.984 kB / 1.377 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002525/1.355, allocations: 34.91 kB / 1.377 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/1.355, allocations: 3.812 kB / 1.377 GB, free: 29.99 MB / 0.8386 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 ($PRE.com.isOn,com.isOn) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.422e-05/1.355, allocations: 110.8 kB / 1.377 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.67e-05/1.355, allocations: 7.75 kB / 1.377 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/1.357, allocations: 315.7 kB / 1.378 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/1.357, allocations: 0 / 1.378 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.357, allocations: 3.953 kB / 1.378 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/1.357, allocations: 0 / 1.378 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001901/1.359, allocations: 1.079 MB / 1.379 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/1.359, allocations: 0 / 1.379 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002981/1.359, allocations: 40 kB / 1.379 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/1.359, allocations: 8.016 kB / 1.379 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/1.359, allocations: 6.781 kB / 1.379 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/1.359, allocations: 0 / 1.379 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.359, allocations: 7.812 kB / 1.379 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/1.36, allocations: 409.5 kB / 1.379 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.407e-05/1.36, allocations: 91.19 kB / 1.379 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.559e-05/1.36, allocations: 3.25 kB / 1.379 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003023/1.36, allocations: 22.86 kB / 1.379 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/1.361, allocations: 15.98 kB / 1.379 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/1.361, allocations: 7.688 kB / 1.379 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.793e-05/1.361, allocations: 98.22 kB / 1.379 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.361, allocations: 3.938 kB / 1.379 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004709/1.361, allocations: 138 kB / 1.38 GB, free: 28.62 MB / 0.8386 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004076/1.362, allocations: 236.4 kB / 1.38 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002663/1.362, allocations: 170.3 kB / 1.38 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/1.362, allocations: 0 / 1.38 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.715e-05/1.362, allocations: 81.02 kB / 1.38 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/1.362, allocations: 30.53 kB / 1.38 GB, free: 28.47 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/1.364, allocations: 332.4 kB / 1.38 GB, free: 28.35 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/1.364, allocations: 0.7109 MB / 1.381 GB, free: 27.65 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001973/1.364, allocations: 31.22 kB / 1.381 GB, free: 27.63 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.299e-05/1.364, allocations: 21.47 kB / 1.381 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.364, allocations: 3.906 kB / 1.381 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of Templates: time 0.005804/1.37, allocations: 3.52 MB / 1.385 GB, free: 26.48 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches