Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.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.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_9_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_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.282/2.282, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.001153/0.001153, allocations: 180.9 kB / 492.3 MB, free: 0.6367 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.525/1.525, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0009037/0.0009037, allocations: 102.6 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.868e-05/2.87e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2778, allocations: 142.3 MB / 1.212 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.878/6.156, allocations: 1.978 GB / 3.19 GB, free: 350.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/6.157, allocations: 100.8 kB / 3.19 GB, free: 350.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.076/8.233, allocations: 0.6383 GB / 3.829 GB, free: 135.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.955e-06/8.233, allocations: 0 / 3.829 GB, free: 135.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001151/8.233, allocations: 35.94 kB / 3.829 GB, free: 135.6 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.003355/8.237, allocations: 1.472 MB / 3.83 GB, free: 134.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.965e-05/8.237, allocations: 8.031 kB / 3.83 GB, free: 134.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001896/8.239, allocations: 314 kB / 3.831 GB, free: 133.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002659/8.241, allocations: 1.201 MB / 3.832 GB, free: 132.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.133e-05/8.241, allocations: 78 kB / 3.832 GB, free: 132.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/8.241, allocations: 108 kB / 3.832 GB, free: 132.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002018/8.244, allocations: 1.126 MB / 3.833 GB, free: 131.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.899e-05/8.244, allocations: 3.953 kB / 3.833 GB, free: 131.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.183e-05/8.244, allocations: 44 kB / 3.833 GB, free: 131.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-05/8.244, allocations: 34 kB / 3.833 GB, free: 131.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/8.245, allocations: 0.8746 MB / 3.834 GB, free: 130.3 MB / 1.151 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.005503/8.251, allocations: 4.718 MB / 3.839 GB, free: 125.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/8.252, allocations: 0.663 MB / 3.839 GB, free: 124.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004507/8.252, allocations: 351 kB / 3.84 GB, free: 124.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005486/8.253, allocations: 315.8 kB / 3.84 GB, free: 123.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/8.253, allocations: 47.06 kB / 3.84 GB, free: 123.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=68): time 3.808e-06/8.253, allocations: 4 kB / 3.84 GB, free: 123.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=68): time 0.001385/8.254, allocations: 0.6931 MB / 3.841 GB, free: 123 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.835e-05/8.254, allocations: 111.4 kB / 3.841 GB, free: 122.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007951/8.255, allocations: 0.6849 MB / 3.841 GB, free: 122.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.769e-05/8.255, allocations: 37.7 kB / 3.841 GB, free: 122.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003288/8.255, allocations: 0.5345 MB / 3.842 GB, free: 121.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/8.256, allocations: 240.5 kB / 3.842 GB, free: 121.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/8.256, allocations: 20 kB / 3.842 GB, free: 121.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.702e-05/8.256, allocations: 341.9 kB / 3.842 GB, free: 121 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003697/8.256, allocations: 257.5 kB / 3.843 GB, free: 120.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005135/8.257, allocations: 0.4913 MB / 3.843 GB, free: 120.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004689/8.257, allocations: 353.9 kB / 3.844 GB, free: 119.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/8.257, allocations: 0 / 3.844 GB, free: 119.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001144/8.258, allocations: 0.8541 MB / 3.844 GB, free: 118.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004858/8.259, allocations: 1.751 MB / 3.846 GB, free: 117.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/8.259, allocations: 8 kB / 3.846 GB, free: 117 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.748e-05/8.259, allocations: 15.95 kB / 3.846 GB, free: 117 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009022/8.26, allocations: 179.7 kB / 3.846 GB, free: 116.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003688/8.26, allocations: 0.5977 MB / 3.847 GB, free: 116.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/8.261, allocations: 151.1 kB / 3.847 GB, free: 116.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.509e-05/8.261, allocations: 35.94 kB / 3.847 GB, free: 116 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/8.261, allocations: 4 kB / 3.847 GB, free: 116 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001004/8.262, allocations: 0.7402 MB / 3.848 GB, free: 115.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/8.262, allocations: 8 kB / 3.848 GB, free: 115.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/8.262, allocations: 8.594 kB / 3.848 GB, free: 115.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005742/8.263, allocations: 171.7 kB / 3.848 GB, free: 115.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/8.263, allocations: 8 kB / 3.848 GB, free: 115.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009396/8.264, allocations: 139.2 kB / 3.848 GB, free: 115 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-05/8.264, allocations: 36 kB / 3.848 GB, free: 114.9 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.0002119/8.264, allocations: 154.3 kB / 3.848 GB, free: 114.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/8.264, allocations: 98.78 kB / 3.848 GB, free: 114.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/8.266, allocations: 0.7508 MB / 3.849 GB, free: 113.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/8.266, allocations: 8 kB / 3.849 GB, free: 113.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/8.266, allocations: 4 kB / 3.849 GB, free: 113.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008862/8.267, allocations: 0.832 MB / 3.85 GB, free: 113 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003108/8.27, allocations: 2.057 MB / 3.852 GB, free: 110.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/8.27, allocations: 4 kB / 3.852 GB, free: 110.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007089/8.27, allocations: 160.1 kB / 3.852 GB, free: 110.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.278e-05/8.27, allocations: 8 kB / 3.852 GB, free: 110.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.023e-05/8.27, allocations: 16 kB / 3.852 GB, free: 110.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002484/8.271, allocations: 0.5938 MB / 3.853 GB, free: 110.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/8.271, allocations: 4 kB / 3.853 GB, free: 110 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/8.272, allocations: 1.307 MB / 3.854 GB, free: 108.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004789/8.273, allocations: 259.6 kB / 3.854 GB, free: 108.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/8.273, allocations: 23.95 kB / 3.854 GB, free: 108.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006458/8.274, allocations: 75.92 kB / 3.854 GB, free: 108.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.169e-05/8.274, allocations: 44.45 kB / 3.854 GB, free: 108.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.865e-05/8.274, allocations: 23.98 kB / 3.854 GB, free: 108.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006253/8.274, allocations: 0.5345 MB / 3.855 GB, free: 107.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.242e-06/8.274, allocations: 0 / 3.855 GB, free: 107.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002479/8.277, allocations: 0.7483 MB / 3.856 GB, free: 106.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.003119/8.28, allocations: 1.883 MB / 3.857 GB, free: 104.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00199/8.282, allocations: 1.1 MB / 3.859 GB, free: 103.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/8.282, allocations: 1.875 kB / 3.859 GB, free: 103.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004738/8.282, allocations: 339.5 kB / 3.859 GB, free: 103.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002282/8.285, allocations: 476.4 kB / 3.859 GB, free: 103.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00322/8.288, allocations: 1.781 MB / 3.861 GB, free: 101.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005646/8.289, allocations: 1.203 MB / 3.862 GB, free: 99.98 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001353/8.29, allocations: 431.6 kB / 3.863 GB, free: 99.55 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/8.29, allocations: 63.44 kB / 3.863 GB, free: 99.49 MB / 1.151 GB Notification: Performance of SimCode: time 6.41e-07/8.29, allocations: 0 / 3.863 GB, free: 99.49 MB / 1.151 GB Notification: Performance of Templates: time 0.05668/8.347, allocations: 44.43 MB / 3.906 GB, free: 55.23 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.csv","../files/Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches