Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.033/2.033, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001242/0.001242, allocations: 181.3 kB / 487 MB, free: 5.344 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.432/1.432, allocations: 221.3 MB / 0.7819 GB, free: 1.449 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 83.33 kB / 0.9213 GB, free: 2.715 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.977e-06/8.997e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3102, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8719/1.182, allocations: 155.1 MB / 1.357 GB, free: 16.17 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/1.182, allocations: 84.58 kB / 1.357 GB, free: 16.17 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.02448/1.207, allocations: 7.963 MB / 1.365 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.989e-06/1.207, allocations: 11.94 kB / 1.365 GB, free: 12.2 MB / 0.8073 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.0009457/1.208, allocations: 497.7 kB / 1.365 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/1.208, allocations: 9.031 kB / 1.365 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/1.209, allocations: 151.7 kB / 1.365 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/1.209, allocations: 182.7 kB / 1.365 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.399e-05/1.209, allocations: 41.69 kB / 1.365 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/1.209, allocations: 12 kB / 1.365 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003164/1.21, allocations: 160.7 kB / 1.366 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002672/1.21, allocations: 169.2 kB / 1.366 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/1.21, allocations: 0 / 1.366 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/1.21, allocations: 0 / 1.366 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/1.21, allocations: 4 kB / 1.366 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/1.211, allocations: 0.9448 MB / 1.367 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/1.211, allocations: 133 kB / 1.367 GB, free: 10 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/1.212, allocations: 77.92 kB / 1.367 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005945/1.212, allocations: 0.5172 MB / 1.367 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/1.212, allocations: 42.5 kB / 1.367 GB, free: 9.277 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/1.212, allocations: 0 / 1.367 GB, free: 9.277 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.00072/1.213, allocations: 208.8 kB / 1.368 GB, free: 9.117 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/1.213, allocations: 51.41 kB / 1.368 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.263e-05/1.213, allocations: 120.2 kB / 1.368 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/1.213, allocations: 29.7 kB / 1.368 GB, free: 8.906 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.835e-05/1.213, allocations: 122.1 kB / 1.368 GB, free: 8.785 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.027e-05/1.213, allocations: 58.5 kB / 1.368 GB, free: 8.734 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.391e-05/1.213, allocations: 0 / 1.368 GB, free: 8.734 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.329e-05/1.213, allocations: 322.6 kB / 1.368 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/1.213, allocations: 66.06 kB / 1.368 GB, free: 8.375 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/1.214, allocations: 88.39 kB / 1.368 GB, free: 8.316 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004164/1.214, allocations: 102.1 kB / 1.369 GB, free: 8.246 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.214, allocations: 4 kB / 1.369 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005989/1.215, allocations: 245.2 kB / 1.369 GB, free: 8.055 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/1.215, allocations: 4 kB / 1.369 GB, free: 8.051 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/1.215, allocations: 0 / 1.369 GB, free: 8.051 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/1.215, allocations: 4 kB / 1.369 GB, free: 8.047 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003657/1.215, allocations: 59.8 kB / 1.369 GB, free: 7.992 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/1.215, allocations: 0 / 1.369 GB, free: 7.992 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002604/1.215, allocations: 27.83 kB / 1.369 GB, free: 7.965 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/1.215, allocations: 7.984 kB / 1.369 GB, free: 7.957 MB / 0.8073 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 7.322e-05/1.215, allocations: 104.9 kB / 1.369 GB, free: 7.848 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.15e-05/1.215, allocations: 19.81 kB / 1.369 GB, free: 7.828 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006306/1.216, allocations: 231.5 kB / 1.369 GB, free: 7.656 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/1.216, allocations: 15.92 kB / 1.369 GB, free: 7.641 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.216, allocations: 0 / 1.369 GB, free: 7.641 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/1.216, allocations: 0 / 1.369 GB, free: 7.641 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/1.218, allocations: 1.01 MB / 1.37 GB, free: 6.598 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/1.218, allocations: 8.062 kB / 1.37 GB, free: 6.59 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003069/1.218, allocations: 39.95 kB / 1.37 GB, free: 6.551 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/1.218, allocations: 4 kB / 1.37 GB, free: 6.547 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/1.218, allocations: 0 / 1.37 GB, free: 6.547 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/1.218, allocations: 7.938 kB / 1.37 GB, free: 6.539 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/1.218, allocations: 0 / 1.37 GB, free: 6.539 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005413/1.218, allocations: 344.3 kB / 1.371 GB, free: 6.223 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.343e-05/1.219, allocations: 92.5 kB / 1.371 GB, free: 6.117 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.774e-05/1.219, allocations: 0 / 1.371 GB, free: 6.117 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000311/1.219, allocations: 31.88 kB / 1.371 GB, free: 6.086 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/1.219, allocations: 7.984 kB / 1.371 GB, free: 6.078 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/1.219, allocations: 11.55 kB / 1.371 GB, free: 6.07 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.821e-05/1.219, allocations: 96.22 kB / 1.371 GB, free: 5.984 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0005041/1.219, allocations: 138.5 kB / 1.371 GB, free: 5.852 MB / 0.8073 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.0004792/1.22, allocations: 248.9 kB / 1.371 GB, free: 5.613 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002832/1.22, allocations: 159 kB / 1.371 GB, free: 5.516 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.22, allocations: 0 / 1.371 GB, free: 5.516 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/1.22, allocations: 83.38 kB / 1.371 GB, free: 5.461 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/1.221, allocations: 25.78 kB / 1.371 GB, free: 5.441 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/1.222, allocations: 303.2 kB / 1.372 GB, free: 5.141 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003734/1.222, allocations: 0.7577 MB / 1.372 GB, free: 20.36 MB / 0.823 GB Notification: Performance of SimCode: time 1.313e-06/1.222, allocations: 0 / 1.372 GB, free: 20.36 MB / 0.823 GB Notification: Performance of Templates: time 0.006913/1.229, allocations: 4.497 MB / 1.377 GB, free: 15.91 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput.csv","../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches