Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.0009491/0.0009491, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.0107/0.0107, allocations: 172.7 kB / 16.26 MB, free: 6.613 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.471/1.471, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.479/2.479, allocations: 390.9 MB / 0.6663 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003304, allocations: 8 kB / 0.816 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.79/0.7903, allocations: 142.4 MB / 0.955 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.2158/1.006, allocations: 182.1 MB / 1.133 GB, free: 8.633 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.008258/1.014, allocations: 4.588 MB / 1.137 GB, free: 4.031 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009936/1.016, allocations: 27.81 kB / 1.137 GB, free: 4.004 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001151/1.017, allocations: 342.2 kB / 1.138 GB, free: 3.668 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003469/1.02, allocations: 1.271 MB / 1.139 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001945/1.022, allocations: 0.6751 MB / 1.14 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003033/1.025, allocations: 2.74 MB / 1.142 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000838/1.026, allocations: 0.5349 MB / 1.143 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003194/1.029, allocations: 0.9531 MB / 1.144 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00117/1.03, allocations: 0.5971 MB / 1.144 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.431e-05/1.03, allocations: 28 kB / 1.144 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002942/1.033, allocations: 1.543 MB / 1.146 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003076/1.034, allocations: 251.3 kB / 1.146 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005095/1.034, allocations: 395.8 kB / 1.146 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001969/1.036, allocations: 1.499 MB / 1.148 GB, free: 9.16 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/1.036, allocations: 0 / 1.148 GB, free: 9.16 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.864e-06/1.036, allocations: 0 / 1.148 GB, free: 9.16 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.606e-06/1.036, allocations: 4 kB / 1.148 GB, free: 9.156 MB / 0.9044 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.001503/1.038, allocations: 0.9388 MB / 1.149 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/1.038, allocations: 11.97 kB / 1.149 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001321/1.039, allocations: 206.8 kB / 1.149 GB, free: 7.953 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008932/1.04, allocations: 0.5792 MB / 1.15 GB, free: 7.332 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.183e-05/1.04, allocations: 45.31 kB / 1.15 GB, free: 7.289 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.972e-05/1.04, allocations: 52 kB / 1.15 GB, free: 7.238 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/1.041, allocations: 0.6284 MB / 1.15 GB, free: 6.594 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/1.041, allocations: 3.938 kB / 1.15 GB, free: 6.59 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.86e-05/1.041, allocations: 20 kB / 1.15 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-05/1.041, allocations: 21.31 kB / 1.15 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008126/1.042, allocations: 0.4892 MB / 1.151 GB, free: 6.059 MB / 0.9044 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.002898/1.045, allocations: 2.396 MB / 1.153 GB, free: 3.449 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006205/1.046, allocations: 358.7 kB / 1.154 GB, free: 3.09 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003129/1.046, allocations: 212.7 kB / 1.154 GB, free: 2.879 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005906/1.047, allocations: 315.2 kB / 1.154 GB, free: 2.516 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/1.047, allocations: 38.56 kB / 1.154 GB, free: 2.469 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=36): time 1.914e-06/1.047, allocations: 0 / 1.154 GB, free: 2.469 MB / 0.9044 GB Notification: Performance of matching and sorting (n=36): time 0.001193/1.048, allocations: 0.5485 MB / 1.155 GB, free: 1.914 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/1.048, allocations: 59.41 kB / 1.155 GB, free: 1.844 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005708/1.049, allocations: 0.4989 MB / 1.155 GB, free: 1.332 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.474e-05/1.049, allocations: 37.7 kB / 1.155 GB, free: 1.289 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002333/1.049, allocations: 319.8 kB / 1.156 GB, free: 0.9727 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/1.049, allocations: 130.1 kB / 1.156 GB, free: 0.8438 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-05/1.049, allocations: 37.7 kB / 1.156 GB, free: 0.8008 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001489/1.049, allocations: 374.7 kB / 1.156 GB, free: 436 kB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/1.049, allocations: 144.8 kB / 1.156 GB, free: 292 kB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000324/1.05, allocations: 255.8 kB / 1.156 GB, free: 0 / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005888/1.05, allocations: 406.2 kB / 1.157 GB, free: 15.57 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/1.05, allocations: 4 kB / 1.157 GB, free: 15.57 MB / 0.92 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007235/1.051, allocations: 485.2 kB / 1.157 GB, free: 15.09 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.233e-05/1.051, allocations: 157.3 kB / 1.157 GB, free: 14.9 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/1.051, allocations: 4.062 kB / 1.157 GB, free: 14.9 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/1.051, allocations: 11.94 kB / 1.157 GB, free: 14.89 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005776/1.052, allocations: 99.89 kB / 1.158 GB, free: 14.79 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003697/1.052, allocations: 0.5977 MB / 1.158 GB, free: 14.17 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006024/1.053, allocations: 75.58 kB / 1.158 GB, free: 14.09 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.945e-05/1.053, allocations: 16 kB / 1.158 GB, free: 14.08 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.043e-06/1.053, allocations: 4 kB / 1.158 GB, free: 14.07 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006112/1.054, allocations: 407.5 kB / 1.159 GB, free: 13.68 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/1.054, allocations: 4 kB / 1.159 GB, free: 13.67 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.15e-06/1.054, allocations: 4 kB / 1.159 GB, free: 13.67 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003537/1.054, allocations: 91.83 kB / 1.159 GB, free: 13.58 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/1.054, allocations: 4 kB / 1.159 GB, free: 13.57 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005206/1.055, allocations: 75.83 kB / 1.159 GB, free: 13.5 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.179e-05/1.055, allocations: 16 kB / 1.159 GB, free: 13.48 MB / 0.92 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.0003285/1.055, allocations: 308.9 kB / 1.159 GB, free: 13.17 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.046e-05/1.055, allocations: 55.34 kB / 1.159 GB, free: 13.12 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007445/1.056, allocations: 453.2 kB / 1.16 GB, free: 12.67 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/1.056, allocations: 4 kB / 1.16 GB, free: 12.66 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/1.056, allocations: 0 / 1.16 GB, free: 12.66 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006176/1.056, allocations: 0.6558 MB / 1.16 GB, free: 11.92 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/1.058, allocations: 1.212 MB / 1.161 GB, free: 10.63 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/1.058, allocations: 0 / 1.161 GB, free: 10.63 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004759/1.059, allocations: 95.88 kB / 1.161 GB, free: 10.54 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/1.059, allocations: 8.156 kB / 1.161 GB, free: 10.53 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/1.059, allocations: 12 kB / 1.161 GB, free: 10.52 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003208/1.059, allocations: 0.5975 MB / 1.162 GB, free: 9.898 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.059, allocations: 4 kB / 1.162 GB, free: 9.895 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009434/1.06, allocations: 0.7005 MB / 1.163 GB, free: 9.156 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002468/1.06, allocations: 176.3 kB / 1.163 GB, free: 8.965 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.292e-05/1.06, allocations: 8 kB / 1.163 GB, free: 8.957 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004545/1.061, allocations: 47.89 kB / 1.163 GB, free: 8.91 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.862e-05/1.061, allocations: 31.91 kB / 1.163 GB, free: 8.879 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.953e-05/1.061, allocations: 16 kB / 1.163 GB, free: 8.863 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004309/1.061, allocations: 358.8 kB / 1.163 GB, free: 8.516 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.91e-07/1.061, allocations: 0 / 1.163 GB, free: 8.516 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009512/1.062, allocations: 347.1 kB / 1.164 GB, free: 8.176 MB / 0.92 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.0004619/1.063, allocations: 198.4 kB / 1.164 GB, free: 7.984 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001171/1.064, allocations: 0.5981 MB / 1.164 GB, free: 7.387 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.064, allocations: 0 / 1.164 GB, free: 7.387 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003122/1.064, allocations: 187.7 kB / 1.165 GB, free: 7.203 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/1.066, allocations: 360.4 kB / 1.165 GB, free: 6.855 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002294/1.069, allocations: 1.68 MB / 1.167 GB, free: 5.129 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005031/1.069, allocations: 0.9417 MB / 1.168 GB, free: 4.16 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0006909/1.07, allocations: 212.9 kB / 1.168 GB, free: 3.953 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/1.07, allocations: 43.44 kB / 1.168 GB, free: 3.91 MB / 0.92 GB Notification: Performance of SimCode: time 6.01e-07/1.07, allocations: 0 / 1.168 GB, free: 3.91 MB / 0.92 GB Notification: Performance of Templates: time 0.02032/1.09, allocations: 11.36 MB / 1.179 GB, free: 8.723 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_MassFraction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches