Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 91.84 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006/0.006, allocations: 169.4 kB / 16.26 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.561/2.561, allocations: 437.8 MB / 0.7121 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.000349, allocations: 19.94 kB / 0.8728 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.745/0.7454, allocations: 153.8 MB / 1.023 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.23/0.9755, allocations: 193.1 MB / 1.212 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01588/0.9914, allocations: 10.83 MB / 1.222 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001823/0.9932, allocations: 43.75 kB / 1.222 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001978/0.9953, allocations: 433.4 kB / 1.223 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005229/1.001, allocations: 1.692 MB / 1.224 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003361/1.004, allocations: 1.056 MB / 1.225 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004551/1.008, allocations: 3.731 MB / 1.229 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001997/1.01, allocations: 1.002 MB / 1.23 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004794/1.015, allocations: 1.414 MB / 1.231 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002077/1.017, allocations: 0.9281 MB / 1.232 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003012/1.018, allocations: 52 kB / 1.232 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003747/1.021, allocations: 1.905 MB / 1.234 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006843/1.022, allocations: 450.6 kB / 1.235 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001313/1.023, allocations: 0.6467 MB / 1.235 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004066/1.028, allocations: 2.332 MB / 1.238 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/1.028, allocations: 0 / 1.238 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.553e-06/1.028, allocations: 4 kB / 1.238 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.58e-05/1.028, allocations: 0 / 1.238 GB, free: 3.477 MB / 0.9825 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.002963/1.031, allocations: 1.441 MB / 1.239 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/1.031, allocations: 12.03 kB / 1.239 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002159/1.033, allocations: 322 kB / 1.239 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001885/1.035, allocations: 0.8665 MB / 1.24 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.269e-05/1.035, allocations: 81.94 kB / 1.24 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002126/1.035, allocations: 108 kB / 1.24 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5556/1.591, allocations: 1.166 MB / 1.241 GB, free: 217.9 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.348e-05/1.591, allocations: 3.328 kB / 1.241 GB, free: 217.9 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001208/1.591, allocations: 41.97 kB / 1.241 GB, free: 217.9 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.306e-05/1.591, allocations: 40.11 kB / 1.241 GB, free: 217.9 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001942/1.593, allocations: 0.9417 MB / 1.242 GB, free: 217.7 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.005749/1.599, allocations: 4.711 MB / 1.247 GB, free: 214.4 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/1.6, allocations: 0.7235 MB / 1.248 GB, free: 214.1 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007491/1.601, allocations: 395.5 kB / 1.248 GB, free: 213.9 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006415/1.602, allocations: 334.2 kB / 1.248 GB, free: 213.6 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/1.602, allocations: 38.98 kB / 1.248 GB, free: 213.6 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=68): time 2.675e-06/1.602, allocations: 0 / 1.248 GB, free: 213.6 MB / 0.9825 GB Notification: Performance of matching and sorting (n=68): time 0.002335/1.604, allocations: 1.006 MB / 1.249 GB, free: 213.2 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/1.604, allocations: 57.94 kB / 1.249 GB, free: 213.2 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/1.605, allocations: 0.797 MB / 1.25 GB, free: 212.8 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.007e-05/1.605, allocations: 42.27 kB / 1.25 GB, free: 212.8 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004251/1.606, allocations: 0.535 MB / 1.251 GB, free: 212.4 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/1.606, allocations: 241.1 kB / 1.251 GB, free: 212.2 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/1.606, allocations: 68.91 kB / 1.251 GB, free: 212.1 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.631e-05/1.606, allocations: 335 kB / 1.251 GB, free: 211.8 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005695/1.607, allocations: 290.4 kB / 1.252 GB, free: 211.7 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006805/1.608, allocations: 0.4988 MB / 1.252 GB, free: 211.4 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/1.609, allocations: 0.7894 MB / 1.253 GB, free: 210.9 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/1.609, allocations: 5.984 kB / 1.253 GB, free: 210.9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001709/1.61, allocations: 0.9036 MB / 1.254 GB, free: 210.6 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001212/1.61, allocations: 230 kB / 1.254 GB, free: 210.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/1.611, allocations: 5.797 kB / 1.254 GB, free: 210.3 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.713e-05/1.611, allocations: 8.156 kB / 1.254 GB, free: 210.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009976/1.612, allocations: 182.8 kB / 1.254 GB, free: 210.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002883/1.612, allocations: 0.6127 MB / 1.255 GB, free: 209.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/1.613, allocations: 133.7 kB / 1.255 GB, free: 209.6 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.833e-05/1.613, allocations: 35.28 kB / 1.255 GB, free: 209.6 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/1.613, allocations: 5.719 kB / 1.255 GB, free: 209.6 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001662/1.615, allocations: 0.7912 MB / 1.256 GB, free: 209.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/1.615, allocations: 4.969 kB / 1.256 GB, free: 209.3 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/1.615, allocations: 9.094 kB / 1.256 GB, free: 209.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007991/1.616, allocations: 169.8 kB / 1.256 GB, free: 209.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.807e-05/1.616, allocations: 13.27 kB / 1.256 GB, free: 209.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/1.617, allocations: 126.9 kB / 1.256 GB, free: 209.3 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.358e-05/1.617, allocations: 35.83 kB / 1.256 GB, free: 209.2 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 1 (limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008537/1.618, allocations: 405.3 kB / 1.257 GB, free: 209 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/1.618, allocations: 99.84 kB / 1.257 GB, free: 208.9 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001632/1.62, allocations: 0.7923 MB / 1.257 GB, free: 208.6 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/1.62, allocations: 11 kB / 1.257 GB, free: 208.6 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.62, allocations: 5.062 kB / 1.257 GB, free: 208.6 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001205/1.621, allocations: 0.8747 MB / 1.258 GB, free: 208 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003801/1.625, allocations: 2.163 MB / 1.26 GB, free: 206.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/1.625, allocations: 2.578 kB / 1.26 GB, free: 206.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007393/1.625, allocations: 150.3 kB / 1.261 GB, free: 206.9 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/1.625, allocations: 11.16 kB / 1.261 GB, free: 206.9 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.054e-05/1.626, allocations: 17.89 kB / 1.261 GB, free: 206.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002132/1.626, allocations: 0.5898 MB / 1.261 GB, free: 206.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/1.626, allocations: 7.734 kB / 1.261 GB, free: 206.3 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001662/1.627, allocations: 1.286 MB / 1.262 GB, free: 205.7 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003639/1.628, allocations: 258.6 kB / 1.263 GB, free: 205.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/1.628, allocations: 15.06 kB / 1.263 GB, free: 205.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006366/1.629, allocations: 70.42 kB / 1.263 GB, free: 205.5 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.744e-05/1.629, allocations: 52.66 kB / 1.263 GB, free: 205.4 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.705e-05/1.629, allocations: 24.23 kB / 1.263 GB, free: 205.4 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006909/1.629, allocations: 0.5461 MB / 1.263 GB, free: 205.2 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/1.629, allocations: 0 / 1.263 GB, free: 205.2 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001498/1.631, allocations: 0.5569 MB / 1.264 GB, free: 205.1 MB / 0.9825 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 () * Number of clocked 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004942/1.631, allocations: 237.5 kB / 1.264 GB, free: 205 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00214/1.634, allocations: 1.159 MB / 1.265 GB, free: 204.6 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/1.634, allocations: 1 kB / 1.265 GB, free: 204.6 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006468/1.634, allocations: 372.8 kB / 1.266 GB, free: 204.5 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002675/1.637, allocations: 493.8 kB / 1.266 GB, free: 204.4 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0036/1.641, allocations: 2.826 MB / 1.269 GB, free: 202.6 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006698/1.641, allocations: 1.175 MB / 1.27 GB, free: 201.9 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001237/1.642, allocations: 354.1 kB / 1.27 GB, free: 201.8 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002255/1.643, allocations: 80.77 kB / 1.27 GB, free: 201.8 MB / 0.9825 GB Notification: Performance of SimCode: time 9.22e-07/1.643, allocations: 0 / 1.27 GB, free: 201.8 MB / 0.9825 GB Notification: Performance of Templates: time 0.02533/1.668, allocations: 16.82 MB / 1.287 GB, free: 188.1 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./Buildings_10_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches