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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001115/0.001115, allocations: 99.42 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 185.5 kB / 16.92 MB, free: 6.688 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.506/1.506, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.891/2.891, allocations: 462.7 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003952/0.0003953, allocations: 10.53 kB / 0.9034 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3327, allocations: 159.6 MB / 1.059 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.221/0.5537, allocations: 193.2 MB / 1.248 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7079/1.262, allocations: 10.81 MB / 1.259 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00196/1.264, allocations: 40.91 kB / 1.259 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001821/1.265, allocations: 442.7 kB / 1.259 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005561/1.271, allocations: 1.683 MB / 1.261 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003999/1.275, allocations: 1.048 MB / 1.262 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006889/1.282, allocations: 3.741 MB / 1.265 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002248/1.284, allocations: 1.007 MB / 1.266 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005497/1.29, allocations: 1.404 MB / 1.268 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002645/1.292, allocations: 0.9297 MB / 1.269 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002631/1.293, allocations: 52.97 kB / 1.269 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005267/1.298, allocations: 1.897 MB / 1.27 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009469/1.299, allocations: 452.5 kB / 1.271 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001781/1.301, allocations: 0.6465 MB / 1.272 GB, free: 18.47 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003773/1.305, allocations: 1.702 MB / 1.273 GB, free: 18.34 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.305, allocations: 0 / 1.273 GB, free: 18.34 MB / 1.014 GB Notification: Performance of FrontEnd: time 4.979e-06/1.305, allocations: 5.75 kB / 1.273 GB, free: 18.34 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.109e-05/1.305, allocations: 0 / 1.273 GB, free: 18.34 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.003446/1.308, allocations: 1.441 MB / 1.275 GB, free: 17.48 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/1.308, allocations: 13.92 kB / 1.275 GB, free: 17.48 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002088/1.31, allocations: 324.3 kB / 1.275 GB, free: 17.4 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001806/1.312, allocations: 0.8679 MB / 1.276 GB, free: 17.06 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001452/1.312, allocations: 78.97 kB / 1.276 GB, free: 17.06 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002743/1.312, allocations: 103.7 kB / 1.276 GB, free: 17.06 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003028/1.316, allocations: 1.176 MB / 1.277 GB, free: 16.91 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.273e-05/1.316, allocations: 6.375 kB / 1.277 GB, free: 16.91 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/1.316, allocations: 41.75 kB / 1.277 GB, free: 16.91 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.912e-05/1.316, allocations: 42.22 kB / 1.277 GB, free: 16.91 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00204/1.318, allocations: 0.9404 MB / 1.278 GB, free: 16.89 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.006531/1.324, allocations: 4.713 MB / 1.283 GB, free: 14.21 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/1.326, allocations: 0.7158 MB / 1.283 GB, free: 14.18 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006033/1.326, allocations: 401.6 kB / 1.284 GB, free: 14.16 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000706/1.327, allocations: 331 kB / 1.284 GB, free: 13.88 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/1.327, allocations: 45.78 kB / 1.284 GB, free: 13.83 MB / 1.014 GB Notification: Performance of pre-optimization done (n=68): time 2.866e-06/1.327, allocations: 1.562 kB / 1.284 GB, free: 13.83 MB / 1.014 GB Notification: Performance of matching and sorting (n=68): time 0.002263/1.329, allocations: 1.004 MB / 1.285 GB, free: 13.73 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/1.33, allocations: 59.94 kB / 1.285 GB, free: 13.67 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/1.331, allocations: 0.7964 MB / 1.286 GB, free: 13.52 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.606e-05/1.331, allocations: 41.39 kB / 1.286 GB, free: 13.49 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003911/1.331, allocations: 0.534 MB / 1.287 GB, free: 13.25 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002478/1.331, allocations: 242.2 kB / 1.287 GB, free: 13.1 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/1.332, allocations: 69.81 kB / 1.287 GB, free: 13.08 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001462/1.332, allocations: 339.2 kB / 1.287 GB, free: 12.77 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005054/1.332, allocations: 291.5 kB / 1.287 GB, free: 12.77 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006702/1.333, allocations: 0.4931 MB / 1.288 GB, free: 12.56 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/1.334, allocations: 0.7888 MB / 1.289 GB, free: 12.38 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.483e-06/1.334, allocations: 2.188 kB / 1.289 GB, free: 12.38 MB / 1.014 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00165/1.336, allocations: 0.9117 MB / 1.29 GB, free: 12.28 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.000184/1.336, allocations: 233.4 kB / 1.29 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/1.336, allocations: 6.531 kB / 1.29 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.62e-05/1.336, allocations: 12.06 kB / 1.29 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009115/1.337, allocations: 177.6 kB / 1.29 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004061/1.337, allocations: 0.6001 MB / 1.291 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/1.338, allocations: 147 kB / 1.291 GB, free: 11.38 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-05/1.339, allocations: 29.2 kB / 1.291 GB, free: 11.38 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/1.339, allocations: 4.25 kB / 1.291 GB, free: 11.38 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001327/1.34, allocations: 0.8004 MB / 1.292 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/1.34, allocations: 5.312 kB / 1.292 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/1.34, allocations: 7.562 kB / 1.292 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006406/1.341, allocations: 169.1 kB / 1.292 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/1.341, allocations: 16 kB / 1.292 GB, free: 11.35 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009758/1.342, allocations: 121.8 kB / 1.292 GB, free: 11.31 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.311e-05/1.342, allocations: 35.56 kB / 1.292 GB, free: 11.31 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.0008714/1.343, allocations: 414.8 kB / 1.292 GB, free: 11.11 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001958/1.343, allocations: 99.38 kB / 1.292 GB, free: 11.06 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001542/1.344, allocations: 0.7895 MB / 1.293 GB, free: 10.99 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/1.344, allocations: 13.67 kB / 1.293 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/1.344, allocations: 1.094 kB / 1.293 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001205/1.346, allocations: 0.8767 MB / 1.294 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003938/1.349, allocations: 2.152 MB / 1.296 GB, free: 10.12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.565e-06/1.35, allocations: 2.812 kB / 1.296 GB, free: 10.12 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00076/1.35, allocations: 163.9 kB / 1.296 GB, free: 10.11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/1.35, allocations: 4.25 kB / 1.296 GB, free: 10.11 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.198e-05/1.35, allocations: 15.84 kB / 1.296 GB, free: 10.11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003438/1.351, allocations: 0.5929 MB / 1.297 GB, free: 9.527 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.351, allocations: 1.938 kB / 1.297 GB, free: 9.527 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001949/1.353, allocations: 1.292 MB / 1.298 GB, free: 9.238 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005416/1.353, allocations: 256.1 kB / 1.298 GB, free: 9.086 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/1.353, allocations: 16.84 kB / 1.298 GB, free: 9.086 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006468/1.354, allocations: 60.42 kB / 1.298 GB, free: 9.082 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.376e-05/1.354, allocations: 47.91 kB / 1.298 GB, free: 9.078 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.318e-05/1.354, allocations: 28.48 kB / 1.298 GB, free: 9.074 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008561/1.355, allocations: 0.5464 MB / 1.299 GB, free: 8.965 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.355, allocations: 0 / 1.299 GB, free: 8.965 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001935/1.357, allocations: 0.5738 MB / 1.3 GB, free: 8.867 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.0006673/1.358, allocations: 232.8 kB / 1.3 GB, free: 8.754 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002408/1.36, allocations: 1.163 MB / 1.301 GB, free: 8.727 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.36, allocations: 0 / 1.301 GB, free: 8.727 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007421/1.361, allocations: 363.8 kB / 1.301 GB, free: 8.727 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002748/1.364, allocations: 492.9 kB / 1.302 GB, free: 8.684 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004602/1.368, allocations: 2.906 MB / 1.305 GB, free: 7.156 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007675/1.369, allocations: 1.173 MB / 1.306 GB, free: 6.438 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002947/1.369, allocations: 89.28 kB / 1.306 GB, free: 6.43 MB / 1.014 GB Notification: Performance of SimCode: time 1.743e-06/1.369, allocations: 0 / 1.306 GB, free: 6.43 MB / 1.014 GB Notification: Performance of Templates: time 0.0421/1.411, allocations: 21.04 MB / 1.326 GB, free: 1.324 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/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