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.0009833/0.0009833, allocations: 91.53 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.007095/0.007095, allocations: 174.7 kB / 16.27 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.47/1.47, 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 11.0.1-master/package.mo): time 2.826/2.826, allocations: 462.7 MB / 0.7364 GB, free: 336 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003474, allocations: 8.375 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3332, allocations: 159.6 MB / 1.059 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.2119/0.5452, allocations: 193.1 MB / 1.247 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6817/1.227, allocations: 10.82 MB / 1.258 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001899/1.229, allocations: 42.19 kB / 1.258 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001618/1.231, allocations: 442.1 kB / 1.258 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005209/1.236, allocations: 1.68 MB / 1.26 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003454/1.239, allocations: 1.045 MB / 1.261 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005501/1.245, allocations: 3.743 MB / 1.265 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001978/1.247, allocations: 0.9987 MB / 1.266 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005341/1.252, allocations: 1.421 MB / 1.267 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002737/1.255, allocations: 0.9283 MB / 1.268 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003482/1.255, allocations: 54.47 kB / 1.268 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005735/1.261, allocations: 1.897 MB / 1.27 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001313/1.262, allocations: 450.9 kB / 1.27 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00209/1.264, allocations: 0.6468 MB / 1.271 GB, free: 18.61 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006702/1.271, allocations: 2.332 MB / 1.273 GB, free: 18.47 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.492e-05/1.271, allocations: 1.375 kB / 1.273 GB, free: 18.47 MB / 1.014 GB Notification: Performance of FrontEnd: time 4.008e-06/1.271, allocations: 1.859 kB / 1.273 GB, free: 18.47 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.039e-05/1.271, allocations: 0 / 1.273 GB, free: 18.47 MB / 1.014 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.005188/1.277, allocations: 1.442 MB / 1.275 GB, free: 17.62 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/1.277, allocations: 9.188 kB / 1.275 GB, free: 17.62 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002471/1.279, allocations: 324.3 kB / 1.275 GB, free: 17.54 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002305/1.281, allocations: 0.865 MB / 1.276 GB, free: 17.2 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/1.282, allocations: 79.25 kB / 1.276 GB, free: 17.2 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002435/1.282, allocations: 103.8 kB / 1.276 GB, free: 17.2 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003021/1.285, allocations: 1.182 MB / 1.277 GB, free: 17.05 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.421e-05/1.285, allocations: 1.031 kB / 1.277 GB, free: 17.05 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/1.285, allocations: 42.16 kB / 1.277 GB, free: 17.05 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-05/1.285, allocations: 37.92 kB / 1.277 GB, free: 17.05 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001947/1.287, allocations: 0.9459 MB / 1.278 GB, free: 17.04 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.006951/1.294, allocations: 4.713 MB / 1.283 GB, free: 14.36 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/1.295, allocations: 0.7204 MB / 1.283 GB, free: 14.32 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000586/1.296, allocations: 387.4 kB / 1.284 GB, free: 14.31 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006745/1.297, allocations: 330.8 kB / 1.284 GB, free: 14.03 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/1.297, allocations: 50.53 kB / 1.284 GB, free: 13.98 MB / 1.014 GB Notification: Performance of pre-optimization done (n=68): time 3.327e-06/1.297, allocations: 0 / 1.284 GB, free: 13.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=68): time 0.002258/1.299, allocations: 1.005 MB / 1.285 GB, free: 13.88 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/1.299, allocations: 58.41 kB / 1.285 GB, free: 13.82 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/1.3, allocations: 0.797 MB / 1.286 GB, free: 13.67 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000102/1.3, allocations: 38.23 kB / 1.286 GB, free: 13.64 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003847/1.301, allocations: 0.5415 MB / 1.286 GB, free: 13.4 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002448/1.301, allocations: 238.5 kB / 1.287 GB, free: 13.25 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/1.301, allocations: 72.45 kB / 1.287 GB, free: 13.23 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.00013/1.301, allocations: 336.4 kB / 1.287 GB, free: 12.93 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004913/1.302, allocations: 295.5 kB / 1.287 GB, free: 12.92 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006499/1.302, allocations: 0.494 MB / 1.288 GB, free: 12.71 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/1.304, allocations: 0.7925 MB / 1.289 GB, free: 12.53 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/1.304, allocations: 1.312 kB / 1.289 GB, free: 12.53 MB / 1.014 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001832/1.305, allocations: 0.9143 MB / 1.29 GB, free: 12.43 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.000155/1.306, allocations: 230.3 kB / 1.29 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/1.306, allocations: 4.312 kB / 1.29 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.785e-05/1.306, allocations: 9.031 kB / 1.29 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009594/1.307, allocations: 183.9 kB / 1.29 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004042/1.307, allocations: 0.6048 MB / 1.291 GB, free: 11.58 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/1.308, allocations: 136.6 kB / 1.291 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.559e-05/1.308, allocations: 36.03 kB / 1.291 GB, free: 11.53 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/1.308, allocations: 3.781 kB / 1.291 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001334/1.31, allocations: 0.794 MB / 1.291 GB, free: 11.51 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/1.31, allocations: 4.625 kB / 1.291 GB, free: 11.51 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/1.31, allocations: 12.47 kB / 1.291 GB, free: 11.51 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007557/1.311, allocations: 166.5 kB / 1.292 GB, free: 11.51 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/1.311, allocations: 11.12 kB / 1.292 GB, free: 11.51 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/1.312, allocations: 130.4 kB / 1.292 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.859e-05/1.312, allocations: 32.19 kB / 1.292 GB, free: 11.46 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.0007179/1.313, allocations: 413.6 kB / 1.292 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002103/1.313, allocations: 103.4 kB / 1.292 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001563/1.314, allocations: 0.7883 MB / 1.293 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/1.314, allocations: 6.656 kB / 1.293 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/1.314, allocations: 1.094 kB / 1.293 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001164/1.316, allocations: 0.8734 MB / 1.294 GB, free: 10.79 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003957/1.319, allocations: 2.156 MB / 1.296 GB, free: 10.28 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/1.32, allocations: 2.719 kB / 1.296 GB, free: 10.28 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007811/1.32, allocations: 156.6 kB / 1.296 GB, free: 10.28 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.845e-05/1.32, allocations: 9.25 kB / 1.296 GB, free: 10.27 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.617e-05/1.32, allocations: 22.84 kB / 1.296 GB, free: 10.27 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003289/1.321, allocations: 0.5866 MB / 1.297 GB, free: 9.688 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/1.321, allocations: 9.156 kB / 1.297 GB, free: 9.688 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002029/1.323, allocations: 1.286 MB / 1.298 GB, free: 9.402 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006083/1.323, allocations: 258.1 kB / 1.298 GB, free: 9.246 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/1.324, allocations: 17.72 kB / 1.298 GB, free: 9.246 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006976/1.324, allocations: 65.41 kB / 1.298 GB, free: 9.242 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.67e-05/1.324, allocations: 48.8 kB / 1.298 GB, free: 9.238 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.171e-05/1.324, allocations: 21 kB / 1.298 GB, free: 9.238 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008727/1.325, allocations: 0.5502 MB / 1.299 GB, free: 9.125 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.91e-07/1.325, allocations: 3.938 kB / 1.299 GB, free: 9.121 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002307/1.328, allocations: 0.5732 MB / 1.3 GB, free: 9.023 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.0006774/1.328, allocations: 232.9 kB / 1.3 GB, free: 8.91 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002133/1.33, allocations: 1.161 MB / 1.301 GB, free: 8.883 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/1.33, allocations: 4.062 kB / 1.301 GB, free: 8.879 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006051/1.331, allocations: 365 kB / 1.301 GB, free: 8.879 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00282/1.334, allocations: 477.4 kB / 1.302 GB, free: 8.848 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004306/1.338, allocations: 2.838 MB / 1.304 GB, free: 7.34 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007098/1.339, allocations: 1.174 MB / 1.306 GB, free: 6.625 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00126/1.34, allocations: 350.7 kB / 1.306 GB, free: 6.57 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002174/1.34, allocations: 81.17 kB / 1.306 GB, free: 6.562 MB / 1.014 GB Notification: Performance of SimCode: time 7.72e-07/1.34, allocations: 0 / 1.306 GB, free: 6.562 MB / 1.014 GB Notification: Performance of Templates: time 0.03053/1.371, allocations: 16.8 MB / 1.322 GB, free: 3.852 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