Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 2.075/2.075, allocations: 390.4 MB / 397.7 MB, free: 11.16 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.001088/0.001088, allocations: 182.5 kB / 490.8 MB, free: 1.879 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.476/1.476, allocations: 221.4 MB / 0.7863 GB, free: 13.63 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.001006/0.001006, allocations: 94.8 kB / 0.9264 GB, free: 14.17 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.616e-06/8.646e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2967, allocations: 143 MB / 1.212 GB, free: 40.07 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.204/4.5, allocations: 1.978 GB / 3.19 GB, free: 357.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/4.501, allocations: 91.95 kB / 3.19 GB, free: 357.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.805/6.306, allocations: 0.6383 GB / 3.828 GB, free: 142.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001401/6.306, allocations: 39.98 kB / 3.828 GB, free: 142.4 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.004036/6.31, allocations: 1.473 MB / 3.829 GB, free: 140.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/6.31, allocations: 12.03 kB / 3.829 GB, free: 140.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002663/6.313, allocations: 337.9 kB / 3.83 GB, free: 140.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00365/6.316, allocations: 1.223 MB / 3.831 GB, free: 139.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.316e-05/6.316, allocations: 32 kB / 3.831 GB, free: 139.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003507/6.317, allocations: 63.91 kB / 3.831 GB, free: 139.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002016/6.319, allocations: 0.8708 MB / 3.832 GB, free: 138.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/6.321, allocations: 1.012 MB / 3.833 GB, free: 137.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.178e-05/6.321, allocations: 0 / 3.833 GB, free: 137.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/6.321, allocations: 7.938 kB / 3.833 GB, free: 137.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.111e-05/6.321, allocations: 34 kB / 3.833 GB, free: 137.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005896/6.327, allocations: 4.826 MB / 3.838 GB, free: 132 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000908/6.328, allocations: 0.6463 MB / 3.838 GB, free: 131.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004346/6.328, allocations: 360.4 kB / 3.839 GB, free: 131 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006128/6.329, allocations: 401 kB / 3.839 GB, free: 130.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/6.329, allocations: 47.16 kB / 3.839 GB, free: 130.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=68): time 3.016e-06/6.329, allocations: 0 / 3.839 GB, free: 130.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=68): time 0.002319/6.331, allocations: 0.7916 MB / 3.84 GB, free: 129.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/6.331, allocations: 111.5 kB / 3.84 GB, free: 129.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/6.332, allocations: 0.5669 MB / 3.84 GB, free: 128.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001205/6.333, allocations: 29.7 kB / 3.841 GB, free: 128.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003227/6.333, allocations: 415.2 kB / 3.841 GB, free: 128.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002658/6.333, allocations: 232.4 kB / 3.841 GB, free: 128.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/6.333, allocations: 0 / 3.841 GB, free: 128.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001702/6.333, allocations: 337.9 kB / 3.841 GB, free: 127.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004555/6.334, allocations: 257.4 kB / 3.842 GB, free: 127.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000585/6.335, allocations: 498.7 kB / 3.842 GB, free: 127.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008194/6.335, allocations: 434.8 kB / 3.843 GB, free: 126.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/6.335, allocations: 0 / 3.843 GB, free: 126.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001568/6.337, allocations: 0.8889 MB / 3.843 GB, free: 125.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004217/6.337, allocations: 1.743 MB / 3.845 GB, free: 123.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/6.337, allocations: 4 kB / 3.845 GB, free: 123.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.273e-05/6.337, allocations: 8 kB / 3.845 GB, free: 123.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00092/6.338, allocations: 187.7 kB / 3.845 GB, free: 123.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003406/6.339, allocations: 0.6054 MB / 3.846 GB, free: 123.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/6.34, allocations: 127.3 kB / 3.846 GB, free: 122.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-05/6.34, allocations: 31.94 kB / 3.846 GB, free: 122.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.277e-06/6.34, allocations: 4 kB / 3.846 GB, free: 122.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001194/6.341, allocations: 0.7672 MB / 3.847 GB, free: 122.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/6.341, allocations: 12.58 kB / 3.847 GB, free: 122.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/6.341, allocations: 12 kB / 3.847 GB, free: 122.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007083/6.342, allocations: 167.7 kB / 3.847 GB, free: 122 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/6.342, allocations: 8 kB / 3.847 GB, free: 121.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/6.343, allocations: 111.4 kB / 3.847 GB, free: 121.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.758e-05/6.343, allocations: 35.98 kB / 3.847 GB, free: 121.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (95): * Single equations (assignments): 94 * 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.0001897/6.343, allocations: 124.7 kB / 3.847 GB, free: 121.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002233/6.343, allocations: 94.88 kB / 3.847 GB, free: 121.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/6.345, allocations: 0.7977 MB / 3.848 GB, free: 120.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/6.345, allocations: 11.94 kB / 3.848 GB, free: 120.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/6.345, allocations: 3.984 kB / 3.848 GB, free: 120.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001057/6.346, allocations: 0.9031 MB / 3.849 GB, free: 119.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0034/6.349, allocations: 1.998 MB / 3.851 GB, free: 117.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/6.349, allocations: 4 kB / 3.851 GB, free: 117.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007643/6.35, allocations: 151.8 kB / 3.851 GB, free: 117.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.411e-05/6.35, allocations: 12 kB / 3.851 GB, free: 117.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.386e-05/6.35, allocations: 11.98 kB / 3.851 GB, free: 117.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001959/6.351, allocations: 0.6016 MB / 3.852 GB, free: 116.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/6.351, allocations: 0 / 3.852 GB, free: 116.9 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001565/6.352, allocations: 1.387 MB / 3.853 GB, free: 115.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004386/6.353, allocations: 251.7 kB / 3.853 GB, free: 115.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001721/6.353, allocations: 11.91 kB / 3.853 GB, free: 115.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007708/6.354, allocations: 63.94 kB / 3.853 GB, free: 115.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.537e-05/6.354, allocations: 40.34 kB / 3.853 GB, free: 115 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.751e-05/6.354, allocations: 20 kB / 3.854 GB, free: 115 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0004858/6.354, allocations: 439.1 kB / 3.854 GB, free: 114.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001849/6.356, allocations: 0.6855 MB / 3.855 GB, free: 113.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (limPID.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1],senTraSubPeo.C,senTraSubFre.C) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 67 * 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.002477/6.359, allocations: 2.088 MB / 3.857 GB, free: 111.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001696/6.36, allocations: 1.077 MB / 3.858 GB, free: 110.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/6.36, allocations: 0 / 3.858 GB, free: 110.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000441/6.361, allocations: 341.6 kB / 3.858 GB, free: 110.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001924/6.363, allocations: 418.9 kB / 3.858 GB, free: 109.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003297/6.366, allocations: 1.76 MB / 3.86 GB, free: 108.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009124/6.367, allocations: 1.288 MB / 3.861 GB, free: 106.8 MB / 1.151 GB Notification: Performance of SimCode: time 8.22e-07/6.367, allocations: 0 / 3.861 GB, free: 106.8 MB / 1.151 GB Notification: Performance of Templates: time 0.04235/6.409, allocations: 29.8 MB / 3.89 GB, free: 77.2 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.csv","../files/Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches