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.0009603/0.0009605, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009189/0.009189, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.435/1.435, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.751/2.751, allocations: 462.7 MB / 0.7364 GB, free: 296 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003827/0.0003826, allocations: 10.53 kB / 0.9028 GB, free: 36.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3318, allocations: 159.6 MB / 1.059 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.2053/0.5372, allocations: 193.1 MB / 1.247 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6549/1.192, allocations: 10.82 MB / 1.258 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001736/1.194, allocations: 43.97 kB / 1.258 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001486/1.195, allocations: 446.2 kB / 1.258 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004555/1.2, allocations: 1.683 MB / 1.26 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003036/1.203, allocations: 1.054 MB / 1.261 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004775/1.208, allocations: 3.738 MB / 1.265 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001661/1.21, allocations: 0.9938 MB / 1.266 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004407/1.214, allocations: 1.416 MB / 1.267 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001947/1.216, allocations: 0.9327 MB / 1.268 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003178/1.216, allocations: 52.88 kB / 1.268 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004555/1.221, allocations: 1.895 MB / 1.27 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001125/1.222, allocations: 452.2 kB / 1.27 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001964/1.224, allocations: 0.649 MB / 1.271 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004708/1.229, allocations: 2.327 MB / 1.273 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/1.229, allocations: 1.094 kB / 1.273 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.994e-06/1.229, allocations: 4.766 kB / 1.273 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.221e-05/1.229, allocations: 4 kB / 1.273 GB, free: 2.445 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.003072/1.232, allocations: 1.439 MB / 1.275 GB, free: 17.59 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/1.232, allocations: 13.16 kB / 1.275 GB, free: 17.59 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001947/1.234, allocations: 326 kB / 1.275 GB, free: 17.51 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001697/1.235, allocations: 0.8643 MB / 1.276 GB, free: 17.17 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/1.236, allocations: 76.73 kB / 1.276 GB, free: 17.17 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002509/1.236, allocations: 107.4 kB / 1.276 GB, free: 17.17 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002716/1.239, allocations: 1.18 MB / 1.277 GB, free: 17.02 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.879e-05/1.239, allocations: 1.797 kB / 1.277 GB, free: 17.02 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.715e-05/1.239, allocations: 43.34 kB / 1.277 GB, free: 17.02 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.496e-05/1.239, allocations: 40.58 kB / 1.277 GB, free: 17.02 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001704/1.241, allocations: 0.9389 MB / 1.278 GB, free: 17.01 MB / 1.014 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.005445/1.246, allocations: 4.714 MB / 1.283 GB, free: 14.33 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/1.247, allocations: 0.7221 MB / 1.283 GB, free: 14.29 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005741/1.248, allocations: 389.2 kB / 1.284 GB, free: 14.29 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006465/1.248, allocations: 331.6 kB / 1.284 GB, free: 14 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/1.248, allocations: 45.69 kB / 1.284 GB, free: 13.95 MB / 1.014 GB Notification: Performance of pre-optimization done (n=68): time 2.315e-06/1.249, allocations: 1.469 kB / 1.284 GB, free: 13.95 MB / 1.014 GB Notification: Performance of matching and sorting (n=68): time 0.001914/1.25, allocations: 1.003 MB / 1.285 GB, free: 13.86 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/1.25, allocations: 62.19 kB / 1.285 GB, free: 13.79 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/1.252, allocations: 0.7989 MB / 1.286 GB, free: 13.64 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.781e-05/1.252, allocations: 37.36 kB / 1.286 GB, free: 13.61 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005071/1.252, allocations: 0.5344 MB / 1.286 GB, free: 13.37 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002931/1.252, allocations: 241.7 kB / 1.287 GB, free: 13.22 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/1.253, allocations: 70.77 kB / 1.287 GB, free: 13.2 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001801/1.253, allocations: 338.9 kB / 1.287 GB, free: 12.89 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005601/1.253, allocations: 294 kB / 1.287 GB, free: 12.89 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007741/1.254, allocations: 0.4935 MB / 1.288 GB, free: 12.68 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/1.255, allocations: 0.7921 MB / 1.289 GB, free: 12.5 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/1.256, allocations: 1.062 kB / 1.289 GB, free: 12.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001685/1.257, allocations: 0.9129 MB / 1.29 GB, free: 12.41 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001453/1.257, allocations: 228.6 kB / 1.29 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/1.257, allocations: 8.047 kB / 1.29 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/1.257, allocations: 8.344 kB / 1.29 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008654/1.258, allocations: 187.1 kB / 1.29 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003853/1.259, allocations: 0.5978 MB / 1.291 GB, free: 11.56 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/1.26, allocations: 143.4 kB / 1.291 GB, free: 11.51 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.575e-05/1.26, allocations: 29.19 kB / 1.291 GB, free: 11.51 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/1.26, allocations: 7.094 kB / 1.291 GB, free: 11.51 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001226/1.261, allocations: 0.7939 MB / 1.291 GB, free: 11.49 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/1.261, allocations: 13.05 kB / 1.291 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/1.261, allocations: 8.656 kB / 1.291 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006166/1.262, allocations: 168.4 kB / 1.292 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/1.262, allocations: 16.73 kB / 1.292 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008654/1.263, allocations: 125.6 kB / 1.292 GB, free: 11.44 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.868e-05/1.263, allocations: 35.81 kB / 1.292 GB, free: 11.44 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.0006146/1.263, allocations: 412.3 kB / 1.292 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/1.263, allocations: 95.97 kB / 1.292 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001373/1.265, allocations: 0.7873 MB / 1.293 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/1.265, allocations: 7.188 kB / 1.293 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/1.265, allocations: 0 / 1.293 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00109/1.266, allocations: 0.8795 MB / 1.294 GB, free: 10.76 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003418/1.269, allocations: 2.158 MB / 1.296 GB, free: 10.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/1.269, allocations: 3.812 kB / 1.296 GB, free: 10.25 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007206/1.27, allocations: 152.2 kB / 1.296 GB, free: 10.25 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.441e-05/1.27, allocations: 12.94 kB / 1.296 GB, free: 10.24 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.693e-05/1.27, allocations: 16.64 kB / 1.296 GB, free: 10.24 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002799/1.271, allocations: 0.5934 MB / 1.297 GB, free: 9.66 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.271, allocations: 4.625 kB / 1.297 GB, free: 9.66 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/1.272, allocations: 1.288 MB / 1.298 GB, free: 9.371 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004409/1.273, allocations: 255.1 kB / 1.298 GB, free: 9.219 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/1.273, allocations: 21.22 kB / 1.298 GB, free: 9.215 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007294/1.274, allocations: 61.23 kB / 1.298 GB, free: 9.211 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.008e-05/1.274, allocations: 48.95 kB / 1.298 GB, free: 9.207 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.984e-05/1.274, allocations: 27.19 kB / 1.298 GB, free: 9.207 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008642/1.275, allocations: 0.5466 MB / 1.299 GB, free: 9.094 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.275, allocations: 1.188 kB / 1.299 GB, free: 9.094 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001859/1.277, allocations: 0.5714 MB / 1.3 GB, free: 8.996 MB / 1.014 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.0006578/1.277, allocations: 228.7 kB / 1.3 GB, free: 8.887 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002114/1.279, allocations: 1.164 MB / 1.301 GB, free: 8.855 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/1.279, allocations: 0 / 1.301 GB, free: 8.855 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005956/1.28, allocations: 369.9 kB / 1.301 GB, free: 8.855 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002784/1.283, allocations: 482.4 kB / 1.302 GB, free: 8.816 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004211/1.287, allocations: 2.844 MB / 1.304 GB, free: 7.312 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008426/1.288, allocations: 1.167 MB / 1.306 GB, free: 6.598 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001308/1.289, allocations: 357.9 kB / 1.306 GB, free: 6.539 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002561/1.29, allocations: 81.22 kB / 1.306 GB, free: 6.531 MB / 1.014 GB Notification: Performance of SimCode: time 7.71e-07/1.29, allocations: 0 / 1.306 GB, free: 6.531 MB / 1.014 GB Notification: Performance of Templates: time 0.03035/1.32, allocations: 16.8 MB / 1.322 GB, free: 3.848 MB / 1.014 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/jenkins/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