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.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.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.001039/0.001039, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.009467/0.009467, allocations: 169.4 kB / 16.26 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.399/1.399, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.748/2.748, allocations: 462.7 MB / 0.7364 GB, free: 212 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003826/0.0003826, allocations: 12.34 kB / 0.9028 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.4013, allocations: 159.6 MB / 1.059 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.2322/0.6335, allocations: 182.1 MB / 1.237 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009386/0.643, allocations: 4.568 MB / 1.241 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001433/0.6444, allocations: 27.81 kB / 1.241 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.6458, allocations: 346.1 kB / 1.241 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004111/0.6499, allocations: 1.268 MB / 1.243 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002396/0.6523, allocations: 0.6818 MB / 1.243 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003832/0.6562, allocations: 2.752 MB / 1.246 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001105/0.6573, allocations: 0.5387 MB / 1.246 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003707/0.661, allocations: 0.9413 MB / 1.247 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001452/0.6625, allocations: 0.5962 MB / 1.248 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001854/0.6627, allocations: 28 kB / 1.248 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003558/0.6663, allocations: 1.543 MB / 1.249 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005104/0.6668, allocations: 251.2 kB / 1.25 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00108/0.6679, allocations: 395.8 kB / 1.25 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.7261/1.394, allocations: 1.488 MB / 1.252 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/1.394, allocations: 0 / 1.252 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.376e-06/1.394, allocations: 1.312 kB / 1.252 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.027e-05/1.394, allocations: 1.094 kB / 1.252 GB, free: 7.895 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.001985/1.396, allocations: 0.9441 MB / 1.252 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.201e-05/1.396, allocations: 8.969 kB / 1.253 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001506/1.398, allocations: 208.5 kB / 1.253 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/1.399, allocations: 0.5782 MB / 1.253 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.006e-05/1.399, allocations: 41.34 kB / 1.253 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/1.399, allocations: 57.86 kB / 1.253 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/1.4, allocations: 0.6244 MB / 1.254 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/1.4, allocations: 5.672 kB / 1.254 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.992e-05/1.4, allocations: 22.53 kB / 1.254 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.665e-05/1.4, allocations: 19.41 kB / 1.254 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008923/1.401, allocations: 0.4915 MB / 1.254 GB, free: 6.957 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.003171/1.404, allocations: 2.396 MB / 1.257 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006251/1.405, allocations: 357 kB / 1.257 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003139/1.405, allocations: 220.5 kB / 1.257 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005849/1.406, allocations: 317.9 kB / 1.258 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/1.406, allocations: 33.97 kB / 1.258 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=36): time 3.006e-06/1.406, allocations: 0 / 1.258 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36): time 0.001168/1.407, allocations: 0.55 MB / 1.258 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/1.407, allocations: 60.81 kB / 1.258 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006196/1.408, allocations: 0.5011 MB / 1.259 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/1.408, allocations: 35.61 kB / 1.259 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002237/1.408, allocations: 316.9 kB / 1.259 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/1.408, allocations: 130.4 kB / 1.259 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.543e-05/1.408, allocations: 40.5 kB / 1.259 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0004453/1.409, allocations: 366 kB / 1.26 GB, free: 20.46 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/1.409, allocations: 147.8 kB / 1.26 GB, free: 20.46 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003355/1.409, allocations: 257 kB / 1.26 GB, free: 20.36 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005861/1.41, allocations: 407 kB / 1.26 GB, free: 20.27 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/1.41, allocations: 0 / 1.26 GB, free: 20.27 MB / 1.014 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007761/1.411, allocations: 495.6 kB / 1.261 GB, free: 20.2 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001196/1.411, allocations: 150.9 kB / 1.261 GB, free: 20.03 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/1.411, allocations: 7.562 kB / 1.261 GB, free: 20.03 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/1.411, allocations: 2.812 kB / 1.261 GB, free: 20.03 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006535/1.412, allocations: 106.7 kB / 1.261 GB, free: 20.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004492/1.412, allocations: 0.5932 MB / 1.262 GB, free: 19.44 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007557/1.413, allocations: 75.81 kB / 1.262 GB, free: 19.42 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.234e-05/1.413, allocations: 16.69 kB / 1.262 GB, free: 19.42 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.554e-06/1.413, allocations: 2.969 kB / 1.262 GB, free: 19.42 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006159/1.414, allocations: 408.3 kB / 1.262 GB, free: 19.41 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/1.414, allocations: 3.953 kB / 1.262 GB, free: 19.41 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.011e-06/1.414, allocations: 9 kB / 1.262 GB, free: 19.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003258/1.414, allocations: 88.66 kB / 1.262 GB, free: 19.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/1.414, allocations: 6.656 kB / 1.262 GB, free: 19.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005712/1.414, allocations: 73.97 kB / 1.262 GB, free: 19.38 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/1.415, allocations: 17.44 kB / 1.262 GB, free: 19.38 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.0005263/1.415, allocations: 306.9 kB / 1.263 GB, free: 19.19 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/1.415, allocations: 59.94 kB / 1.263 GB, free: 19.16 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007714/1.416, allocations: 452 kB / 1.263 GB, free: 19.09 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/1.416, allocations: 3.172 kB / 1.263 GB, free: 19.09 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.076e-06/1.416, allocations: 1.438 kB / 1.263 GB, free: 19.09 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006137/1.417, allocations: 0.6592 MB / 1.264 GB, free: 18.65 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002151/1.419, allocations: 1.203 MB / 1.265 GB, free: 18.27 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/1.419, allocations: 3.094 kB / 1.265 GB, free: 18.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004806/1.419, allocations: 94.05 kB / 1.265 GB, free: 18.27 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/1.419, allocations: 8.188 kB / 1.265 GB, free: 18.27 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.309e-05/1.419, allocations: 13.19 kB / 1.265 GB, free: 18.27 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003379/1.42, allocations: 0.6007 MB / 1.266 GB, free: 17.68 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/1.42, allocations: 3.375 kB / 1.266 GB, free: 17.68 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009117/1.421, allocations: 0.7086 MB / 1.266 GB, free: 17.45 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002553/1.421, allocations: 182.9 kB / 1.267 GB, free: 17.31 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.524e-05/1.421, allocations: 15.2 kB / 1.267 GB, free: 17.31 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004596/1.421, allocations: 36.73 kB / 1.267 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/1.421, allocations: 29.77 kB / 1.267 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.743e-05/1.422, allocations: 17.02 kB / 1.267 GB, free: 17.3 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004795/1.422, allocations: 357.6 kB / 1.267 GB, free: 17.21 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.422, allocations: 3 kB / 1.267 GB, free: 17.21 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001114/1.423, allocations: 342.7 kB / 1.267 GB, free: 17.17 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.0005719/1.424, allocations: 191.2 kB / 1.268 GB, free: 17.07 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00146/1.425, allocations: 0.5906 MB / 1.268 GB, free: 17.05 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/1.425, allocations: 1.219 kB / 1.268 GB, free: 17.05 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004565/1.426, allocations: 188.9 kB / 1.268 GB, free: 17.05 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002339/1.428, allocations: 357.8 kB / 1.269 GB, free: 17.03 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002876/1.431, allocations: 1.668 MB / 1.27 GB, free: 16.12 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008899/1.432, allocations: 0.943 MB / 1.271 GB, free: 15.42 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009567/1.433, allocations: 213.9 kB / 1.271 GB, free: 15.38 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/1.433, allocations: 51.98 kB / 1.271 GB, free: 15.38 MB / 1.014 GB Notification: Performance of SimCode: time 1.252e-06/1.433, allocations: 0 / 1.271 GB, free: 15.38 MB / 1.014 GB Notification: Performance of Templates: time 0.03186/1.465, allocations: 11.36 MB / 1.283 GB, free: 14.68 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches