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/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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 104.9 kB / 16.27 MB, free: 5.863 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.001231/0.001231, allocations: 186.9 kB / 17.19 MB, free: 5.512 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.339/1.339, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.585/2.585, allocations: 469.4 MB / 0.7426 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002602/0.002602, allocations: 63.91 kB / 0.9088 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3909, allocations: 159.1 MB / 1.064 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.9134/1.304, allocations: 198 MB / 1.258 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01436/1.319, allocations: 10.9 MB / 1.268 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001964/1.321, allocations: 43.75 kB / 1.268 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001777/1.323, allocations: 0.5355 MB / 1.269 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004527/1.327, allocations: 1.789 MB / 1.271 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002935/1.33, allocations: 1.16 MB / 1.272 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003431/1.334, allocations: 2.776 MB / 1.274 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001711/1.335, allocations: 1.207 MB / 1.276 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00397/1.339, allocations: 1.607 MB / 1.277 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001656/1.341, allocations: 0.9508 MB / 1.278 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002403/1.341, allocations: 124 kB / 1.278 GB, free: 14 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003716/1.345, allocations: 1.719 MB / 1.28 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007438/1.346, allocations: 0.522 MB / 1.28 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001051/1.347, allocations: 0.7153 MB / 1.281 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003829/1.351, allocations: 2.318 MB / 1.283 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/1.351, allocations: 3.984 kB / 1.283 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.763e-06/1.351, allocations: 0 / 1.283 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.138e-05/1.351, allocations: 0 / 1.283 GB, free: 8.707 MB / 0.9981 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.002824/1.354, allocations: 1.7 MB / 1.285 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/1.354, allocations: 8.625 kB / 1.285 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001796/1.355, allocations: 326 kB / 1.285 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/1.357, allocations: 0.8665 MB / 1.286 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.022e-05/1.357, allocations: 81.92 kB / 1.286 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/1.357, allocations: 104 kB / 1.286 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001806/1.359, allocations: 1.179 MB / 1.287 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/1.359, allocations: 0 / 1.287 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.802e-05/1.359, allocations: 36 kB / 1.288 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.635e-05/1.359, allocations: 42 kB / 1.288 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001504/1.361, allocations: 0.9368 MB / 1.288 GB, free: 3.305 MB / 0.9981 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.005483/1.366, allocations: 4.741 MB / 1.293 GB, free: 14.18 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/1.367, allocations: 0.734 MB / 1.294 GB, free: 13.43 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000565/1.368, allocations: 398.9 kB / 1.294 GB, free: 13.04 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006372/1.369, allocations: 319.7 kB / 1.294 GB, free: 12.67 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/1.369, allocations: 39.12 kB / 1.295 GB, free: 12.62 MB / 1.014 GB Notification: Performance of pre-optimization done (n=68): time 2.815e-06/1.369, allocations: 0 / 1.295 GB, free: 12.62 MB / 1.014 GB Notification: Performance of matching and sorting (n=68): time 0.001913/1.371, allocations: 1.009 MB / 1.296 GB, free: 11.61 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/1.371, allocations: 59.97 kB / 1.296 GB, free: 11.54 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/1.372, allocations: 0.7948 MB / 1.296 GB, free: 10.72 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.379e-05/1.372, allocations: 41.7 kB / 1.296 GB, free: 10.68 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005353/1.372, allocations: 0.5344 MB / 1.297 GB, free: 10.13 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002078/1.372, allocations: 240.5 kB / 1.297 GB, free: 9.895 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/1.373, allocations: 150.6 kB / 1.297 GB, free: 9.742 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002119/1.373, allocations: 341.9 kB / 1.298 GB, free: 9.402 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004688/1.373, allocations: 296.7 kB / 1.298 GB, free: 9.109 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000618/1.374, allocations: 0.4967 MB / 1.298 GB, free: 8.535 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/1.375, allocations: 0.7913 MB / 1.299 GB, free: 7.68 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/1.375, allocations: 0 / 1.299 GB, free: 7.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001518/1.377, allocations: 0.9057 MB / 1.3 GB, free: 6.766 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/1.377, allocations: 8 kB / 1.3 GB, free: 6.758 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/1.377, allocations: 4 kB / 1.3 GB, free: 6.754 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/1.377, allocations: 12 kB / 1.3 GB, free: 6.742 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008403/1.378, allocations: 181.1 kB / 1.3 GB, free: 6.566 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005159/1.378, allocations: 0.6062 MB / 1.301 GB, free: 5.938 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007838/1.379, allocations: 83.11 kB / 1.301 GB, free: 5.855 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-05/1.379, allocations: 32 kB / 1.301 GB, free: 5.824 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000895/1.38, allocations: 0.5448 MB / 1.301 GB, free: 5.273 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007984/1.381, allocations: 0.5008 MB / 1.302 GB, free: 4.695 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001193/1.382, allocations: 0.7874 MB / 1.303 GB, free: 3.844 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.246e-06/1.382, allocations: 4 kB / 1.303 GB, free: 3.84 MB / 1.014 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001598/1.384, allocations: 0.9025 MB / 1.304 GB, free: 2.93 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/1.384, allocations: 12.12 kB / 1.304 GB, free: 2.918 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/1.384, allocations: 4 kB / 1.304 GB, free: 2.914 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/1.384, allocations: 11.94 kB / 1.304 GB, free: 2.902 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006366/1.384, allocations: 171.7 kB / 1.304 GB, free: 2.734 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/1.384, allocations: 15.92 kB / 1.304 GB, free: 2.719 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007074/1.385, allocations: 67.42 kB / 1.304 GB, free: 2.652 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6e-05/1.385, allocations: 31.98 kB / 1.304 GB, free: 2.621 MB / 1.014 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.0002314/1.385, allocations: 236 kB / 1.304 GB, free: 2.383 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/1.385, allocations: 98.78 kB / 1.304 GB, free: 2.285 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00147/1.387, allocations: 0.7899 MB / 1.305 GB, free: 1.48 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/1.387, allocations: 8 kB / 1.305 GB, free: 1.473 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/1.387, allocations: 0 / 1.305 GB, free: 1.473 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001141/1.388, allocations: 0.8865 MB / 1.306 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003496/1.392, allocations: 2.143 MB / 1.308 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/1.392, allocations: 4 kB / 1.308 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007217/1.392, allocations: 147.8 kB / 1.308 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.827e-06/1.392, allocations: 4 kB / 1.308 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.933e-05/1.392, allocations: 23.98 kB / 1.308 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003336/1.393, allocations: 0.6017 MB / 1.309 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.393, allocations: 4 kB / 1.309 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/1.395, allocations: 1.28 MB / 1.31 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004534/1.395, allocations: 259.6 kB / 1.31 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/1.395, allocations: 19.94 kB / 1.31 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004924/1.396, allocations: 27.98 kB / 1.31 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.714e-05/1.396, allocations: 40.52 kB / 1.31 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.564e-05/1.396, allocations: 23.98 kB / 1.31 GB, free: 11.76 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007177/1.397, allocations: 0.546 MB / 1.311 GB, free: 11.2 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.432e-06/1.397, allocations: 0 / 1.311 GB, free: 11.2 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001378/1.398, allocations: 0.5647 MB / 1.311 GB, free: 10.64 MB / 1.029 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.0005356/1.398, allocations: 236.7 kB / 1.312 GB, free: 10.41 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002603/1.401, allocations: 1.298 MB / 1.313 GB, free: 9.109 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.401, allocations: 0 / 1.313 GB, free: 9.109 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006064/1.402, allocations: 367.6 kB / 1.313 GB, free: 8.754 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002333/1.404, allocations: 497.4 kB / 1.314 GB, free: 8.281 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004695/1.409, allocations: 2.349 MB / 1.316 GB, free: 5.871 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/1.41, allocations: 1.174 MB / 1.317 GB, free: 4.668 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000415/1.41, allocations: 95.42 kB / 1.317 GB, free: 4.574 MB / 1.029 GB Notification: Performance of SimCode: time 9.02e-07/1.41, allocations: 0 / 1.317 GB, free: 4.574 MB / 1.029 GB Notification: Performance of Templates: time 0.03229/1.443, allocations: 21.12 MB / 1.338 GB, free: 15.59 MB / 1.061 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches