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.001483/0.001483, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001757/0.001757, allocations: 191 kB / 16.25 MB, free: 6.637 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.4/1.4, allocations: 222.9 MB / 239.9 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.82/2.82, allocations: 461.9 MB / 0.7343 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 65.59 kB / 0.8986 GB, free: 37.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3173, allocations: 157.4 MB / 1.052 GB, free: 8.75 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.2526/0.57, allocations: 184.4 MB / 1.232 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008412/0.5784, allocations: 4.543 MB / 1.237 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/0.5797, allocations: 31.75 kB / 1.237 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00146/0.5812, allocations: 362.1 kB / 1.237 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004374/0.5856, allocations: 1.264 MB / 1.238 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002339/0.5879, allocations: 0.688 MB / 1.239 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002949/0.5909, allocations: 1.956 MB / 1.241 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001066/0.592, allocations: 0.6358 MB / 1.242 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003711/0.5957, allocations: 1.068 MB / 1.243 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001389/0.5971, allocations: 0.6263 MB / 1.243 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002207/0.5973, allocations: 64 kB / 1.243 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00296/0.6003, allocations: 1.438 MB / 1.245 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005092/0.6008, allocations: 291.2 kB / 1.245 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008337/0.6016, allocations: 414.2 kB / 1.245 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002951/0.6046, allocations: 1.539 MB / 1.247 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/0.6046, allocations: 0 / 1.247 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6046, allocations: 0 / 1.247 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.175e-05/0.6047, allocations: 0 / 1.247 GB, free: 0.7695 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.6859/1.291, allocations: 1.085 MB / 1.248 GB, free: 197.7 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.017e-05/1.291, allocations: 11.28 kB / 1.248 GB, free: 197.7 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001667/1.292, allocations: 204.4 kB / 1.248 GB, free: 197.6 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/1.294, allocations: 0.5739 MB / 1.249 GB, free: 197.4 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.286e-05/1.294, allocations: 41.09 kB / 1.249 GB, free: 197.4 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/1.294, allocations: 55.27 kB / 1.249 GB, free: 197.4 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/1.295, allocations: 0.623 MB / 1.249 GB, free: 197.3 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/1.295, allocations: 4.594 kB / 1.249 GB, free: 197.3 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.614e-05/1.295, allocations: 21.02 kB / 1.249 GB, free: 197.3 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.525e-05/1.295, allocations: 19.97 kB / 1.249 GB, free: 197.3 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008012/1.296, allocations: 0.497 MB / 1.25 GB, free: 197.3 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.002871/1.299, allocations: 2.403 MB / 1.252 GB, free: 196 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006099/1.299, allocations: 359.1 kB / 1.253 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002479/1.3, allocations: 212.2 kB / 1.253 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005071/1.3, allocations: 311.6 kB / 1.253 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/1.3, allocations: 37.59 kB / 1.253 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=36): time 3.226e-06/1.3, allocations: 2.938 kB / 1.253 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36): time 0.001012/1.301, allocations: 0.5434 MB / 1.254 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/1.301, allocations: 64.38 kB / 1.254 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004925/1.302, allocations: 0.4983 MB / 1.254 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.922e-05/1.302, allocations: 32.45 kB / 1.254 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/1.302, allocations: 320.3 kB / 1.255 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.189e-05/1.302, allocations: 124.9 kB / 1.255 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/1.302, allocations: 87.42 kB / 1.255 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.84e-05/1.302, allocations: 365.5 kB / 1.255 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/1.303, allocations: 153.1 kB / 1.255 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002649/1.303, allocations: 261.3 kB / 1.256 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00052/1.303, allocations: 400.7 kB / 1.256 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.303, allocations: 0 / 1.256 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007946/1.304, allocations: 494.2 kB / 1.256 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.534e-05/1.304, allocations: 6.938 kB / 1.256 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/1.304, allocations: 3.969 kB / 1.256 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.055e-05/1.304, allocations: 3.844 kB / 1.256 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005932/1.305, allocations: 94.42 kB / 1.256 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002799/1.305, allocations: 0.5996 MB / 1.257 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006421/1.306, allocations: 78.8 kB / 1.257 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.099e-05/1.306, allocations: 18.42 kB / 1.257 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004386/1.306, allocations: 328.5 kB / 1.257 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002861/1.307, allocations: 259.8 kB / 1.258 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005004/1.307, allocations: 408.8 kB / 1.258 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-06/1.307, allocations: 2.844 kB / 1.258 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0006221/1.308, allocations: 489.4 kB / 1.259 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/1.308, allocations: 5.938 kB / 1.259 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/1.308, allocations: 6.875 kB / 1.259 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.079e-06/1.308, allocations: 7.391 kB / 1.259 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000331/1.308, allocations: 86.67 kB / 1.259 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/1.308, allocations: 10.17 kB / 1.259 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005628/1.309, allocations: 67.55 kB / 1.259 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/1.309, allocations: 19.19 kB / 1.259 GB, free: 193.4 MB / 0.9981 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.0001285/1.309, allocations: 202.9 kB / 1.259 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.832e-05/1.309, allocations: 65.06 kB / 1.259 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007031/1.31, allocations: 448.3 kB / 1.259 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/1.31, allocations: 3.516 kB / 1.259 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/1.31, allocations: 6.562 kB / 1.259 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005585/1.31, allocations: 0.6513 MB / 1.26 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/1.312, allocations: 1.215 MB / 1.261 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/1.312, allocations: 2.969 kB / 1.261 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004709/1.313, allocations: 86.38 kB / 1.261 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/1.313, allocations: 3.5 kB / 1.261 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/1.313, allocations: 15.22 kB / 1.261 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002157/1.313, allocations: 0.5905 MB / 1.262 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.313, allocations: 7 kB / 1.262 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008401/1.314, allocations: 0.7001 MB / 1.263 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002233/1.314, allocations: 175 kB / 1.263 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.264e-05/1.314, allocations: 18.84 kB / 1.263 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004689/1.315, allocations: 46.56 kB / 1.263 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.92e-05/1.315, allocations: 23.2 kB / 1.263 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/1.315, allocations: 13.08 kB / 1.263 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004073/1.315, allocations: 359.4 kB / 1.263 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.32e-07/1.315, allocations: 3.688 kB / 1.263 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00093/1.316, allocations: 348.4 kB / 1.264 GB, free: 191.2 MB / 0.9981 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.0005338/1.317, allocations: 194.8 kB / 1.264 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001548/1.318, allocations: 0.6259 MB / 1.264 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/1.318, allocations: 0.6875 kB / 1.264 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003706/1.318, allocations: 189.3 kB / 1.265 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001804/1.32, allocations: 368.7 kB / 1.265 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002521/1.323, allocations: 1.575 MB / 1.266 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000623/1.323, allocations: 0.9438 MB / 1.267 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009845/1.324, allocations: 203.4 kB / 1.268 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/1.325, allocations: 48.86 kB / 1.268 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of SimCode: time 7.72e-07/1.325, allocations: 0 / 1.268 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.0334/1.358, allocations: 11.75 MB / 1.279 GB, free: 186.6 MB / 0.9981 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