Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.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.Examples.MassFraction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.Xi.1.|senMasFra1.X|senMasFra2.X",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction") translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.Xi.1.|senMasFra1.X|senMasFra2.X",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 100.1 kB / 15.88 MB, free: 12 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.001645/0.001645, allocations: 199.2 kB / 16.79 MB, free: 6.809 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.394/1.394, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.744/2.744, allocations: 461.8 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.001291, allocations: 64.56 kB / 0.899 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3216, allocations: 157.4 MB / 1.053 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.192/0.5137, allocations: 184.6 MB / 1.233 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007897/0.5216, allocations: 4.639 MB / 1.238 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001119/0.5228, allocations: 23.88 kB / 1.238 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001311/0.5241, allocations: 350.1 kB / 1.238 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003742/0.5279, allocations: 1.266 MB / 1.239 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002129/0.53, allocations: 0.67 MB / 1.24 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003271/0.5333, allocations: 2.756 MB / 1.242 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.5344, allocations: 0.5549 MB / 1.243 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00363/0.538, allocations: 0.9585 MB / 1.244 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001287/0.5393, allocations: 0.608 MB / 1.245 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001289/0.5395, allocations: 36 kB / 1.245 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002899/0.5424, allocations: 1.563 MB / 1.246 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003689/0.5428, allocations: 255.3 kB / 1.246 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005828/0.5434, allocations: 382.1 kB / 1.247 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.652/1.195, allocations: 1.077 MB / 1.248 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/1.195, allocations: 0.8125 kB / 1.248 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.853e-06/1.195, allocations: 0.5469 kB / 1.248 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.113e-05/1.196, allocations: 0.7812 kB / 1.248 GB, free: 7.266 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.002108/1.198, allocations: 1.091 MB / 1.249 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/1.198, allocations: 8.812 kB / 1.249 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001385/1.199, allocations: 204.7 kB / 1.249 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009988/1.2, allocations: 0.5832 MB / 1.25 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.122e-05/1.2, allocations: 37.89 kB / 1.25 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.765e-05/1.2, allocations: 54.25 kB / 1.25 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/1.201, allocations: 0.6191 MB / 1.25 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/1.201, allocations: 2.875 kB / 1.25 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.452e-05/1.201, allocations: 23.03 kB / 1.25 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-05/1.202, allocations: 25.02 kB / 1.25 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008031/1.202, allocations: 0.4922 MB / 1.251 GB, free: 6.359 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.002758/1.205, allocations: 2.4 MB / 1.253 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005542/1.206, allocations: 353.5 kB / 1.253 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00026/1.206, allocations: 211.9 kB / 1.254 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005121/1.206, allocations: 311.2 kB / 1.254 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/1.206, allocations: 40.5 kB / 1.254 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=36): time 1.974e-06/1.206, allocations: 4.562 kB / 1.254 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36): time 0.00106/1.208, allocations: 0.5414 MB / 1.255 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/1.208, allocations: 55.28 kB / 1.255 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005037/1.208, allocations: 0.5064 MB / 1.255 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/1.208, allocations: 32.7 kB / 1.255 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/1.208, allocations: 320.9 kB / 1.255 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.2e-05/1.208, allocations: 125.9 kB / 1.256 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/1.209, allocations: 86.98 kB / 1.256 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0003417/1.209, allocations: 365 kB / 1.256 GB, free: 19.88 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002367/1.209, allocations: 158.4 kB / 1.256 GB, free: 19.86 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002986/1.209, allocations: 253.2 kB / 1.256 GB, free: 19.76 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005029/1.21, allocations: 411.8 kB / 1.257 GB, free: 19.67 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.21, allocations: 0 / 1.257 GB, free: 19.67 MB / 1.014 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006797/1.211, allocations: 493.6 kB / 1.257 GB, free: 19.6 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/1.211, allocations: 6.469 kB / 1.257 GB, free: 19.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/1.211, allocations: 2.906 kB / 1.257 GB, free: 19.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/1.211, allocations: 5.906 kB / 1.257 GB, free: 19.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005619/1.211, allocations: 100.6 kB / 1.257 GB, free: 19.59 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003888/1.212, allocations: 0.5948 MB / 1.258 GB, free: 19.01 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006235/1.212, allocations: 76.84 kB / 1.258 GB, free: 18.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.062e-05/1.212, allocations: 17.11 kB / 1.258 GB, free: 18.98 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004482/1.213, allocations: 330.6 kB / 1.258 GB, free: 18.9 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002976/1.213, allocations: 257.6 kB / 1.259 GB, free: 18.79 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004914/1.214, allocations: 404.8 kB / 1.259 GB, free: 18.7 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.384e-06/1.214, allocations: 2.531 kB / 1.259 GB, free: 18.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0006735/1.214, allocations: 489.5 kB / 1.259 GB, free: 18.62 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/1.214, allocations: 10.33 kB / 1.259 GB, free: 18.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.065e-06/1.214, allocations: 2.938 kB / 1.259 GB, free: 18.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.242e-06/1.214, allocations: 3.188 kB / 1.259 GB, free: 18.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003447/1.215, allocations: 90.52 kB / 1.26 GB, free: 18.62 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/1.215, allocations: 8.781 kB / 1.26 GB, free: 18.62 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005661/1.215, allocations: 74.06 kB / 1.26 GB, free: 18.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.221e-05/1.215, allocations: 18.72 kB / 1.26 GB, free: 18.6 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * 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.0001898/1.216, allocations: 202.3 kB / 1.26 GB, free: 18.42 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.613e-05/1.216, allocations: 58.66 kB / 1.26 GB, free: 18.39 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000745/1.216, allocations: 452.1 kB / 1.26 GB, free: 18.32 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/1.216, allocations: 2.219 kB / 1.26 GB, free: 18.32 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/1.216, allocations: 4.188 kB / 1.26 GB, free: 18.32 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006094/1.217, allocations: 0.6554 MB / 1.261 GB, free: 17.88 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001765/1.219, allocations: 1.212 MB / 1.262 GB, free: 17.51 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/1.219, allocations: 4.922 kB / 1.262 GB, free: 17.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004654/1.219, allocations: 86.36 kB / 1.262 GB, free: 17.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/1.219, allocations: 4.094 kB / 1.262 GB, free: 17.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/1.219, allocations: 13.91 kB / 1.262 GB, free: 17.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003159/1.22, allocations: 0.5948 MB / 1.263 GB, free: 16.91 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/1.22, allocations: 2.844 kB / 1.263 GB, free: 16.91 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008507/1.221, allocations: 0.7048 MB / 1.264 GB, free: 16.69 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002657/1.221, allocations: 183.8 kB / 1.264 GB, free: 16.55 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.401e-05/1.221, allocations: 12.92 kB / 1.264 GB, free: 16.55 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004573/1.221, allocations: 37.16 kB / 1.264 GB, free: 16.55 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.208e-05/1.221, allocations: 27.5 kB / 1.264 GB, free: 16.55 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/1.221, allocations: 14.38 kB / 1.264 GB, free: 16.55 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004411/1.222, allocations: 359.3 kB / 1.264 GB, free: 16.46 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.222, allocations: 0 / 1.264 GB, free: 16.46 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001044/1.223, allocations: 352.2 kB / 1.264 GB, free: 16.41 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,senMasFra1.X) * 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 (35): * Single equations (assignments): 34 * 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.0005069/1.223, allocations: 186.8 kB / 1.265 GB, free: 16.31 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001336/1.225, allocations: 0.5979 MB / 1.265 GB, free: 16.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/1.225, allocations: 0.7812 kB / 1.265 GB, free: 16.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003387/1.225, allocations: 188.2 kB / 1.265 GB, free: 16.3 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001832/1.227, allocations: 363.6 kB / 1.266 GB, free: 16.27 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002635/1.23, allocations: 1.624 MB / 1.267 GB, free: 15.35 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006258/1.23, allocations: 0.9428 MB / 1.268 GB, free: 14.64 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001871/1.231, allocations: 55.55 kB / 1.268 GB, free: 14.64 MB / 1.014 GB Notification: Performance of SimCode: time 6.71e-07/1.231, allocations: 0 / 1.268 GB, free: 14.64 MB / 1.014 GB Notification: Performance of Templates: time 0.0247/1.255, allocations: 12.69 MB / 1.281 GB, free: 13.64 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_MassFraction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches