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.001064/0.001064, allocations: 91.92 kB / 16.02 MB, free: 80 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.00149/0.00149, allocations: 179.3 kB / 16.92 MB, free: 6.652 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.813/1.813, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.878/2.878, allocations: 462.6 MB / 0.737 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004767/0.0004768, allocations: 13 kB / 0.9034 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.3991, allocations: 159.6 MB / 1.059 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.2269/0.6261, allocations: 182.1 MB / 1.237 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00854/0.6347, allocations: 4.586 MB / 1.242 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001237/0.6359, allocations: 27.81 kB / 1.242 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001376/0.6373, allocations: 350.1 kB / 1.242 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003926/0.6413, allocations: 1.264 MB / 1.243 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002231/0.6435, allocations: 0.6824 MB / 1.244 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003637/0.6472, allocations: 2.752 MB / 1.247 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001116/0.6483, allocations: 0.5348 MB / 1.247 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003916/0.6523, allocations: 0.9492 MB / 1.248 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001544/0.6538, allocations: 0.5862 MB / 1.249 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001889/0.654, allocations: 28 kB / 1.249 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003392/0.6574, allocations: 1.547 MB / 1.25 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004584/0.6579, allocations: 255.2 kB / 1.25 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008248/0.6587, allocations: 395.8 kB / 1.251 GB, free: 176 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.6896/1.348, allocations: 1.052 MB / 1.252 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/1.348, allocations: 0 / 1.252 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.196e-06/1.348, allocations: 0.7188 kB / 1.252 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.02e-05/1.348, allocations: 0 / 1.252 GB, free: 7.258 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.001934/1.35, allocations: 0.9538 MB / 1.253 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/1.35, allocations: 9.531 kB / 1.253 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001519/1.352, allocations: 203.4 kB / 1.253 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/1.353, allocations: 0.5763 MB / 1.254 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.555e-05/1.353, allocations: 42.09 kB / 1.254 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001605/1.353, allocations: 59.03 kB / 1.254 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/1.355, allocations: 0.6219 MB / 1.254 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/1.355, allocations: 3.531 kB / 1.254 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.887e-05/1.355, allocations: 24.03 kB / 1.254 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-05/1.355, allocations: 18.12 kB / 1.254 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009503/1.356, allocations: 0.4922 MB / 1.255 GB, free: 6.316 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.003078/1.359, allocations: 2.395 MB / 1.257 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006046/1.359, allocations: 356.7 kB / 1.257 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000278/1.36, allocations: 217.5 kB / 1.258 GB, free: 5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005583/1.36, allocations: 318.5 kB / 1.258 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/1.36, allocations: 37.64 kB / 1.258 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=36): time 3.036e-06/1.36, allocations: 0 / 1.258 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36): time 0.001162/1.362, allocations: 0.5445 MB / 1.258 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003031/1.362, allocations: 57.56 kB / 1.259 GB, free: 20.55 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006739/1.363, allocations: 0.5025 MB / 1.259 GB, free: 20.43 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.954e-05/1.363, allocations: 39.3 kB / 1.259 GB, free: 20.39 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/1.363, allocations: 319.5 kB / 1.259 GB, free: 20.24 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/1.363, allocations: 127.5 kB / 1.26 GB, free: 20.16 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.397e-05/1.363, allocations: 42.12 kB / 1.26 GB, free: 20.14 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001681/1.363, allocations: 362.6 kB / 1.26 GB, free: 19.83 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/1.364, allocations: 148.1 kB / 1.26 GB, free: 19.83 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003936/1.364, allocations: 260.7 kB / 1.26 GB, free: 19.72 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005167/1.364, allocations: 407.5 kB / 1.261 GB, free: 19.64 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/1.364, allocations: 0 / 1.261 GB, free: 19.64 MB / 1.014 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007083/1.365, allocations: 498.9 kB / 1.261 GB, free: 19.56 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001176/1.365, allocations: 153.2 kB / 1.261 GB, free: 19.39 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/1.365, allocations: 7.094 kB / 1.261 GB, free: 19.39 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/1.365, allocations: 7.266 kB / 1.261 GB, free: 19.39 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005739/1.366, allocations: 103.4 kB / 1.261 GB, free: 19.39 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000412/1.366, allocations: 0.5971 MB / 1.262 GB, free: 18.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007128/1.367, allocations: 69.92 kB / 1.262 GB, free: 18.78 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.225e-05/1.367, allocations: 19.44 kB / 1.262 GB, free: 18.78 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.983e-06/1.367, allocations: 3 kB / 1.262 GB, free: 18.78 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000585/1.368, allocations: 403.4 kB / 1.262 GB, free: 18.77 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/1.368, allocations: 2.906 kB / 1.262 GB, free: 18.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.242e-06/1.368, allocations: 10.22 kB / 1.262 GB, free: 18.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003248/1.368, allocations: 85.52 kB / 1.263 GB, free: 18.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/1.368, allocations: 9.141 kB / 1.263 GB, free: 18.77 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005478/1.369, allocations: 72.7 kB / 1.263 GB, free: 18.75 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/1.369, allocations: 21.23 kB / 1.263 GB, free: 18.75 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.0004001/1.369, allocations: 300.2 kB / 1.263 GB, free: 18.56 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/1.369, allocations: 65.5 kB / 1.263 GB, free: 18.52 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007396/1.37, allocations: 452.8 kB / 1.263 GB, free: 18.46 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/1.37, allocations: 6.828 kB / 1.263 GB, free: 18.46 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/1.37, allocations: 1.062 kB / 1.263 GB, free: 18.46 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006119/1.371, allocations: 0.6507 MB / 1.264 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001809/1.372, allocations: 1.21 MB / 1.265 GB, free: 17.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.778e-06/1.372, allocations: 2.969 kB / 1.265 GB, free: 17.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000462/1.373, allocations: 93.31 kB / 1.265 GB, free: 17.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.353e-06/1.373, allocations: 3.312 kB / 1.265 GB, free: 17.64 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.198e-05/1.373, allocations: 9.922 kB / 1.265 GB, free: 17.64 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003534/1.373, allocations: 0.604 MB / 1.266 GB, free: 17.04 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/1.373, allocations: 0 / 1.266 GB, free: 17.04 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008886/1.374, allocations: 0.7127 MB / 1.267 GB, free: 16.81 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002619/1.374, allocations: 180.5 kB / 1.267 GB, free: 16.68 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.38e-05/1.375, allocations: 17.34 kB / 1.267 GB, free: 16.68 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000447/1.375, allocations: 35.67 kB / 1.267 GB, free: 16.67 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.865e-05/1.375, allocations: 25.88 kB / 1.267 GB, free: 16.67 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/1.375, allocations: 14.92 kB / 1.267 GB, free: 16.67 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004491/1.376, allocations: 360.5 kB / 1.267 GB, free: 16.58 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.703e-06/1.376, allocations: 0 / 1.267 GB, free: 16.58 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001015/1.377, allocations: 348.6 kB / 1.268 GB, free: 16.54 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.0005189/1.377, allocations: 196.1 kB / 1.268 GB, free: 16.43 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001273/1.378, allocations: 0.5833 MB / 1.268 GB, free: 16.43 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/1.378, allocations: 1.094 kB / 1.268 GB, free: 16.43 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003834/1.379, allocations: 193.6 kB / 1.269 GB, free: 16.42 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002088/1.381, allocations: 359 kB / 1.269 GB, free: 16.4 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002819/1.384, allocations: 1.716 MB / 1.271 GB, free: 15.46 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007103/1.384, allocations: 0.9386 MB / 1.271 GB, free: 14.75 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002148/1.385, allocations: 55.69 kB / 1.272 GB, free: 14.74 MB / 1.014 GB Notification: Performance of SimCode: time 1.002e-06/1.385, allocations: 0 / 1.272 GB, free: 14.74 MB / 1.014 GB Notification: Performance of Templates: time 0.02683/1.412, allocations: 12.59 MB / 1.284 GB, free: 13.8 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