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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.359/2.359, allocations: 390.3 MB / 402.8 MB, free: 6.715 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.001111/0.001111, allocations: 188.8 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 221.3 MB / 0.7915 GB, free: 5.477 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.0009711/0.0009711, allocations: 91.94 kB / 0.9317 GB, free: 5.781 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.186e-05/3.223e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2749, allocations: 143 MB / 1.219 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.825/6.1, allocations: 1.979 GB / 3.198 GB, free: 334.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000367/6.101, allocations: 91.95 kB / 3.198 GB, free: 334.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.272/8.373, allocations: 0.6384 GB / 3.836 GB, free: 133.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.033e-06/8.373, allocations: 0 / 3.836 GB, free: 133.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001812/8.373, allocations: 32 kB / 3.836 GB, free: 133.5 MB / 1.167 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.004574/8.377, allocations: 1.48 MB / 3.837 GB, free: 132 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/8.377, allocations: 8.031 kB / 3.837 GB, free: 131.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002394/8.38, allocations: 319.9 kB / 3.838 GB, free: 131.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003634/8.384, allocations: 1.183 MB / 3.839 GB, free: 130.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.225e-05/8.384, allocations: 86.34 kB / 3.839 GB, free: 130.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003499/8.384, allocations: 107.9 kB / 3.839 GB, free: 130.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002382/8.386, allocations: 1.125 MB / 3.84 GB, free: 129.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.359e-05/8.386, allocations: 0 / 3.84 GB, free: 129.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/8.387, allocations: 47.94 kB / 3.84 GB, free: 129 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.104e-05/8.387, allocations: 34 kB / 3.84 GB, free: 129 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001577/8.388, allocations: 0.8746 MB / 3.841 GB, free: 128.1 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005759/8.394, allocations: 4.714 MB / 3.846 GB, free: 123 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009712/8.395, allocations: 0.6603 MB / 3.846 GB, free: 122.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004422/8.395, allocations: 343 kB / 3.847 GB, free: 122 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005074/8.396, allocations: 315.8 kB / 3.847 GB, free: 121.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/8.396, allocations: 39.12 kB / 3.847 GB, free: 121.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=68): time 2.725e-06/8.396, allocations: 4 kB / 3.847 GB, free: 121.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=68): time 0.001497/8.398, allocations: 0.697 MB / 3.848 GB, free: 120.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/8.398, allocations: 111.4 kB / 3.848 GB, free: 120.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009482/8.399, allocations: 0.6809 MB / 3.848 GB, free: 120 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.833e-05/8.399, allocations: 41.7 kB / 3.849 GB, free: 120 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003173/8.399, allocations: 0.5422 MB / 3.849 GB, free: 119.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/8.399, allocations: 240.5 kB / 3.849 GB, free: 119.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/8.399, allocations: 20 kB / 3.849 GB, free: 119.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.66e-05/8.399, allocations: 341.9 kB / 3.85 GB, free: 118.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003833/8.4, allocations: 261.5 kB / 3.85 GB, free: 118.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005299/8.4, allocations: 0.4887 MB / 3.85 GB, free: 118 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005013/8.401, allocations: 354.2 kB / 3.851 GB, free: 117.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/8.401, allocations: 8 kB / 3.851 GB, free: 117.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001305/8.402, allocations: 0.8501 MB / 3.852 GB, free: 116.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004599/8.403, allocations: 1.751 MB / 3.853 GB, free: 114.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/8.403, allocations: 15.94 kB / 3.853 GB, free: 114.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.84e-05/8.403, allocations: 8 kB / 3.853 GB, free: 114.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008355/8.403, allocations: 175.7 kB / 3.853 GB, free: 114.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003306/8.404, allocations: 0.5977 MB / 3.854 GB, free: 114.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/8.405, allocations: 155.1 kB / 3.854 GB, free: 113.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.54e-05/8.405, allocations: 31.98 kB / 3.854 GB, free: 113.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/8.405, allocations: 4 kB / 3.854 GB, free: 113.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001031/8.406, allocations: 0.7403 MB / 3.855 GB, free: 113.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/8.406, allocations: 4.594 kB / 3.855 GB, free: 113.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/8.406, allocations: 11.95 kB / 3.855 GB, free: 113.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005971/8.407, allocations: 179.7 kB / 3.855 GB, free: 113 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.702e-05/8.407, allocations: 8 kB / 3.855 GB, free: 112.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/8.408, allocations: 135.3 kB / 3.855 GB, free: 112.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.195e-05/8.408, allocations: 39.92 kB / 3.855 GB, free: 112.8 MB / 1.167 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.0002033/8.408, allocations: 148.8 kB / 3.855 GB, free: 112.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002302/8.408, allocations: 106.8 kB / 3.856 GB, free: 112.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/8.41, allocations: 0.7392 MB / 3.856 GB, free: 111.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/8.41, allocations: 7.953 kB / 3.856 GB, free: 111.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/8.41, allocations: 11.92 kB / 3.856 GB, free: 111.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008175/8.411, allocations: 0.8281 MB / 3.857 GB, free: 110.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003446/8.414, allocations: 2.065 MB / 3.859 GB, free: 108.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/8.414, allocations: 4 kB / 3.859 GB, free: 108.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000741/8.415, allocations: 160.1 kB / 3.859 GB, free: 108.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.591e-05/8.415, allocations: 4 kB / 3.859 GB, free: 108.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.497e-05/8.415, allocations: 27.98 kB / 3.859 GB, free: 108.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002275/8.415, allocations: 0.586 MB / 3.86 GB, free: 107.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/8.415, allocations: 4 kB / 3.86 GB, free: 107.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/8.417, allocations: 1.311 MB / 3.861 GB, free: 106.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005503/8.417, allocations: 259.7 kB / 3.861 GB, free: 106.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002003/8.417, allocations: 19.94 kB / 3.861 GB, free: 106.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008412/8.418, allocations: 71.88 kB / 3.861 GB, free: 106.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.8e-05/8.418, allocations: 52.44 kB / 3.862 GB, free: 106 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-05/8.418, allocations: 23.98 kB / 3.862 GB, free: 106 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007351/8.419, allocations: 0.5345 MB / 3.862 GB, free: 105.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.41e-07/8.419, allocations: 0 / 3.862 GB, free: 105.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002605/8.422, allocations: 0.7444 MB / 3.863 GB, free: 104.7 MB / 1.167 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.003031/8.425, allocations: 1.859 MB / 3.865 GB, free: 102.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002147/8.427, allocations: 1.104 MB / 3.866 GB, free: 101.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/8.427, allocations: 1.875 kB / 3.866 GB, free: 101.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005234/8.427, allocations: 343.5 kB / 3.866 GB, free: 101.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002612/8.43, allocations: 487.9 kB / 3.866 GB, free: 100.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003668/8.434, allocations: 1.777 MB / 3.868 GB, free: 99.06 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007989/8.435, allocations: 1.203 MB / 3.869 GB, free: 97.83 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001686/8.436, allocations: 427.6 kB / 3.87 GB, free: 97.41 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/8.437, allocations: 63.42 kB / 3.87 GB, free: 97.34 MB / 1.167 GB Notification: Performance of SimCode: time 1.232e-06/8.437, allocations: 0 / 3.87 GB, free: 97.34 MB / 1.167 GB Notification: Performance of Templates: time 0.06059/8.497, allocations: 44.43 MB / 3.913 GB, free: 53.09 MB / 1.167 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