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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, 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.01151/0.01151, allocations: 169.8 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.404/1.404, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.385/2.385, allocations: 390.9 MB / 0.6663 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003312/0.0003311, allocations: 8 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7916/0.7919, allocations: 142.4 MB / 0.955 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.2276/1.02, allocations: 193.1 MB / 1.144 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01778/1.037, allocations: 10.84 MB / 1.154 GB, free: 2.645 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002086/1.04, allocations: 39.75 kB / 1.154 GB, free: 2.605 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002034/1.042, allocations: 437.5 kB / 1.155 GB, free: 2.176 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005682/1.047, allocations: 1.693 MB / 1.156 GB, free: 488 kB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003491/1.051, allocations: 1.045 MB / 1.157 GB, free: 15.44 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004902/1.056, allocations: 3.739 MB / 1.161 GB, free: 11.69 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002156/1.058, allocations: 1.002 MB / 1.162 GB, free: 10.67 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004931/1.063, allocations: 1.421 MB / 1.163 GB, free: 9.25 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001958/1.065, allocations: 0.9184 MB / 1.164 GB, free: 8.332 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004335/1.065, allocations: 55.98 kB / 1.164 GB, free: 8.277 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004211/1.07, allocations: 1.898 MB / 1.166 GB, free: 6.375 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000768/1.07, allocations: 454.6 kB / 1.167 GB, free: 5.93 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001071/1.071, allocations: 0.6467 MB / 1.167 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004042/1.075, allocations: 2.34 MB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/1.075, allocations: 0 / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.773e-06/1.075, allocations: 0 / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.92e-05/1.075, allocations: 0 / 1.17 GB, free: 2.926 MB / 0.92 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.002605/1.078, allocations: 1.437 MB / 1.171 GB, free: 1.434 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/1.078, allocations: 8.031 kB / 1.171 GB, free: 1.426 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001862/1.08, allocations: 326 kB / 1.171 GB, free: 1.105 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/1.082, allocations: 0.8703 MB / 1.172 GB, free: 196 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.685e-05/1.082, allocations: 85.94 kB / 1.172 GB, free: 112 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/1.082, allocations: 100 kB / 1.172 GB, free: 12 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002002/1.084, allocations: 1.175 MB / 1.173 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.857e-05/1.084, allocations: 7.938 kB / 1.173 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.195e-05/1.084, allocations: 47.97 kB / 1.173 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.164e-05/1.084, allocations: 38 kB / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00155/1.086, allocations: 0.9368 MB / 1.174 GB, free: 13.77 MB / 0.9356 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.005687/1.091, allocations: 4.714 MB / 1.179 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/1.092, allocations: 0.7204 MB / 1.18 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005874/1.093, allocations: 398.9 kB / 1.18 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006504/1.094, allocations: 332.7 kB / 1.18 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/1.094, allocations: 35.12 kB / 1.18 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=68): time 2.815e-06/1.094, allocations: 4 kB / 1.18 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of matching and sorting (n=68): time 0.001962/1.096, allocations: 0.9975 MB / 1.181 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.078e-05/1.096, allocations: 67.95 kB / 1.182 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/1.097, allocations: 0.7948 MB / 1.182 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.36e-05/1.097, allocations: 41.7 kB / 1.182 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004214/1.097, allocations: 0.5305 MB / 1.183 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002461/1.098, allocations: 244.5 kB / 1.183 GB, free: 4.387 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/1.098, allocations: 69.67 kB / 1.183 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001613/1.098, allocations: 341.9 kB / 1.183 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004734/1.098, allocations: 293.8 kB / 1.184 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006573/1.099, allocations: 0.493 MB / 1.184 GB, free: 3.113 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/1.1, allocations: 0.7913 MB / 1.185 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.1, allocations: 4 kB / 1.185 GB, free: 2.254 MB / 0.9356 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001461/1.102, allocations: 0.9102 MB / 1.186 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001702/1.102, allocations: 232.8 kB / 1.186 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/1.102, allocations: 4 kB / 1.186 GB, free: 1.039 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/1.102, allocations: 8 kB / 1.186 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000883/1.103, allocations: 183.8 kB / 1.186 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004027/1.103, allocations: 0.5977 MB / 1.187 GB, free: 236 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009317/1.104, allocations: 139.1 kB / 1.187 GB, free: 96 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-05/1.104, allocations: 39.98 kB / 1.187 GB, free: 56 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.514e-06/1.104, allocations: 4 kB / 1.187 GB, free: 52 kB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001223/1.105, allocations: 0.7962 MB / 1.188 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/1.105, allocations: 4 kB / 1.188 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/1.105, allocations: 8 kB / 1.188 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006081/1.106, allocations: 171.7 kB / 1.188 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/1.106, allocations: 11.94 kB / 1.188 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008322/1.107, allocations: 123.6 kB / 1.188 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.388e-05/1.107, allocations: 36 kB / 1.188 GB, free: 14.91 MB / 0.9512 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.0006158/1.108, allocations: 400.8 kB / 1.189 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/1.108, allocations: 102.8 kB / 1.189 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/1.109, allocations: 0.8015 MB / 1.189 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/1.109, allocations: 7.938 kB / 1.189 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.109, allocations: 0 / 1.189 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001092/1.11, allocations: 0.871 MB / 1.19 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003515/1.114, allocations: 2.163 MB / 1.192 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/1.114, allocations: 0 / 1.192 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007184/1.115, allocations: 147.8 kB / 1.193 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.788e-06/1.115, allocations: 8 kB / 1.193 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.686e-05/1.115, allocations: 19.98 kB / 1.193 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004775/1.115, allocations: 0.6017 MB / 1.193 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/1.115, allocations: 4.031 kB / 1.193 GB, free: 9.578 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/1.117, allocations: 1.28 MB / 1.194 GB, free: 8.25 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004071/1.117, allocations: 251.8 kB / 1.195 GB, free: 7.984 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/1.118, allocations: 15.98 kB / 1.195 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006312/1.118, allocations: 81.38 kB / 1.195 GB, free: 7.891 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.914e-05/1.118, allocations: 44.44 kB / 1.195 GB, free: 7.848 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-05/1.118, allocations: 27.98 kB / 1.195 GB, free: 7.82 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007756/1.119, allocations: 0.5421 MB / 1.195 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/1.119, allocations: 0 / 1.195 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001564/1.121, allocations: 0.5648 MB / 1.196 GB, free: 6.699 MB / 0.9512 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.0006045/1.121, allocations: 233.9 kB / 1.196 GB, free: 6.477 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002326/1.124, allocations: 1.157 MB / 1.197 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/1.124, allocations: 4 kB / 1.197 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005964/1.124, allocations: 367.6 kB / 1.198 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002741/1.127, allocations: 492.2 kB / 1.198 GB, free: 4.477 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004704/1.132, allocations: 2.845 MB / 1.201 GB, free: 1.582 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009737/1.133, allocations: 1.171 MB / 1.202 GB, free: 392 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001331/1.134, allocations: 355.9 kB / 1.202 GB, free: 32 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002746/1.134, allocations: 79.42 kB / 1.202 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of SimCode: time 8.02e-07/1.134, allocations: 0 / 1.202 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of Templates: time 0.03385/1.168, allocations: 16.81 MB / 1.219 GB, free: 15.4 MB / 0.9825 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches