Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|conVolFlo.y|conMasVolFra.V",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") translateModel(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|conVolFlo.y|conMasVolFra.V",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") [: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 7.0.3-maint.7.0.x/package.mo): time 1.218/1.218, allocations: 249.4 MB / 256.7 MB, free: 7.043 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 181.1 kB / 316 MB, free: 3.57 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.063/1.063, allocations: 205.1 MB / 0.5667 GB, free: 15.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008232/0.0008232, allocations: 87.28 kB / 0.671 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.181e-06/6.201e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1401, allocations: 106.3 MB / 0.8846 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.315/3.455, allocations: 2.252 GB / 3.136 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/3.456, allocations: 95.75 kB / 3.136 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.692/5.148, allocations: 0.611 GB / 3.747 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.314e-05/5.148, allocations: 38.7 kB / 3.748 GB, free: 165.8 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.002443/5.151, allocations: 1.472 MB / 3.749 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/5.151, allocations: 12.66 kB / 3.749 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00177/5.152, allocations: 333.3 kB / 3.749 GB, free: 165 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002319/5.155, allocations: 1.217 MB / 3.75 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.169e-05/5.155, allocations: 31.84 kB / 3.75 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000186/5.155, allocations: 69.91 kB / 3.751 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001724/5.157, allocations: 0.8807 MB / 3.751 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/5.158, allocations: 1.021 MB / 3.752 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.874e-05/5.158, allocations: 0 / 3.752 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.918e-05/5.158, allocations: 1.5 kB / 3.752 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.826e-05/5.158, allocations: 37.22 kB / 3.752 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004396/5.163, allocations: 4.509 MB / 3.757 GB, free: 161 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009793/5.164, allocations: 0.6606 MB / 3.757 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004691/5.164, allocations: 365.1 kB / 3.758 GB, free: 160.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005501/5.165, allocations: 405.9 kB / 3.758 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/5.165, allocations: 42.59 kB / 3.758 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=71): time 2.204e-06/5.165, allocations: 0 / 3.758 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=71): time 0.001919/5.167, allocations: 0.8194 MB / 3.759 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/5.167, allocations: 110.5 kB / 3.759 GB, free: 159.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006623/5.168, allocations: 0.5568 MB / 3.76 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.176e-05/5.168, allocations: 27.86 kB / 3.76 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/5.168, allocations: 414.9 kB / 3.76 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/5.168, allocations: 245.8 kB / 3.76 GB, free: 159 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/5.168, allocations: 1.125 kB / 3.76 GB, free: 159 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.125e-05/5.168, allocations: 340.2 kB / 3.761 GB, free: 158.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003818/5.168, allocations: 259.3 kB / 3.761 GB, free: 158.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005032/5.169, allocations: 484.7 kB / 3.761 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007982/5.17, allocations: 452.8 kB / 3.762 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/5.17, allocations: 1.156 kB / 3.762 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001471/5.171, allocations: 0.9075 MB / 3.763 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002588/5.172, allocations: 1.574 MB / 3.764 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/5.172, allocations: 4.031 kB / 3.764 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/5.172, allocations: 8.062 kB / 3.764 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008731/5.172, allocations: 193.9 kB / 3.764 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002887/5.173, allocations: 0.6074 MB / 3.765 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009181/5.174, allocations: 109.8 kB / 3.765 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.317e-05/5.174, allocations: 34.16 kB / 3.765 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.965e-06/5.174, allocations: 5.469 kB / 3.765 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001356/5.175, allocations: 0.7902 MB / 3.766 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/5.175, allocations: 3.906 kB / 3.766 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/5.175, allocations: 8.906 kB / 3.766 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006795/5.176, allocations: 173.7 kB / 3.766 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/5.176, allocations: 7.906 kB / 3.766 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007761/5.177, allocations: 106.8 kB / 3.766 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.805e-05/5.177, allocations: 44.69 kB / 3.766 GB, free: 155.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 1 (limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000162/5.177, allocations: 126.9 kB / 3.766 GB, free: 155 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/5.177, allocations: 93.75 kB / 3.767 GB, free: 155 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/5.179, allocations: 0.8197 MB / 3.767 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/5.179, allocations: 12 kB / 3.767 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/5.179, allocations: 0 / 3.767 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001192/5.18, allocations: 0.9368 MB / 3.768 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003374/5.183, allocations: 2.03 MB / 3.77 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/5.183, allocations: 2.219 kB / 3.77 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008222/5.184, allocations: 166.3 kB / 3.77 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.688e-06/5.184, allocations: 4.969 kB / 3.77 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.057e-05/5.184, allocations: 22.41 kB / 3.77 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001957/5.184, allocations: 0.5957 MB / 3.771 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/5.184, allocations: 2.25 kB / 3.771 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001827/5.186, allocations: 1.444 MB / 3.772 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003678/5.187, allocations: 252.5 kB / 3.773 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/5.187, allocations: 9.922 kB / 3.773 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007127/5.187, allocations: 74.91 kB / 3.773 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.07e-05/5.188, allocations: 36.78 kB / 3.773 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.628e-05/5.188, allocations: 29 kB / 3.773 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0005574/5.188, allocations: 433 kB / 3.773 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001922/5.19, allocations: 0.6811 MB / 3.774 GB, free: 151.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (limPID.I.y,vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],senVolFlo.d,senTraSubPeo.C,senTraSubFre.C) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002639/5.193, allocations: 2.095 MB / 3.776 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002074/5.195, allocations: 1.091 MB / 3.777 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/5.195, allocations: 1.094 kB / 3.777 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005469/5.195, allocations: 344.8 kB / 3.777 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002041/5.197, allocations: 414.9 kB / 3.778 GB, free: 150 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00397/5.201, allocations: 1.822 MB / 3.779 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001449/5.203, allocations: 1.291 MB / 3.781 GB, free: 148.5 MB / 0.8698 GB Notification: Performance of SimCode: time 5.71e-07/5.203, allocations: 0.9688 kB / 3.781 GB, free: 148.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.04943/5.252, allocations: 30.04 MB / 3.81 GB, free: 128.4 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches