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.001614/0.001614, allocations: 106.8 kB / 15.99 MB, free: 6.352 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.001817/0.001817, allocations: 192.7 kB / 16.91 MB, free: 6.184 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.377/1.377, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.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.261/2.261, allocations: 390.2 MB / 0.665 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 67.81 kB / 0.8127 GB, free: 32.59 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2713, allocations: 140.4 MB / 0.9498 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.7771/1.048, allocations: 184.4 MB / 1.13 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.008128/1.057, allocations: 4.531 MB / 1.134 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001668/1.058, allocations: 33.81 kB / 1.134 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001444/1.06, allocations: 358.7 kB / 1.135 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004625/1.064, allocations: 1.259 MB / 1.136 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002385/1.067, allocations: 0.6832 MB / 1.137 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003102/1.07, allocations: 1.96 MB / 1.138 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/1.071, allocations: 0.6323 MB / 1.139 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003609/1.075, allocations: 1.084 MB / 1.14 GB, free: 5.215 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001168/1.076, allocations: 0.6214 MB / 1.141 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001185/1.076, allocations: 66 kB / 1.141 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003036/1.079, allocations: 1.436 MB / 1.142 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003707/1.079, allocations: 290.7 kB / 1.142 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005538/1.08, allocations: 417.9 kB / 1.143 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001775/1.082, allocations: 1.085 MB / 1.144 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/1.082, allocations: 0 / 1.144 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.795e-06/1.082, allocations: 0 / 1.144 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.454e-05/1.082, allocations: 1.25 kB / 1.144 GB, free: 4.824 MB / 0.8575 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.002044/1.084, allocations: 1.096 MB / 1.145 GB, free: 20.15 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/1.084, allocations: 12.56 kB / 1.145 GB, free: 20.15 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/1.085, allocations: 199.9 kB / 1.145 GB, free: 20.11 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009512/1.086, allocations: 0.5835 MB / 1.146 GB, free: 19.81 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.059e-05/1.086, allocations: 40.31 kB / 1.146 GB, free: 19.81 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/1.086, allocations: 57.25 kB / 1.146 GB, free: 19.81 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/1.087, allocations: 0.6227 MB / 1.146 GB, free: 19.73 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/1.087, allocations: 0 / 1.146 GB, free: 19.73 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.256e-05/1.087, allocations: 25.47 kB / 1.146 GB, free: 19.73 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.22e-05/1.087, allocations: 22.75 kB / 1.146 GB, free: 19.72 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00081/1.088, allocations: 0.4887 MB / 1.147 GB, free: 19.71 MB / 0.8731 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.003175/1.091, allocations: 2.393 MB / 1.149 GB, free: 18.2 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006496/1.092, allocations: 358.3 kB / 1.15 GB, free: 18.05 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003004/1.092, allocations: 209.4 kB / 1.15 GB, free: 17.98 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000605/1.093, allocations: 310.3 kB / 1.15 GB, free: 17.69 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/1.093, allocations: 41.55 kB / 1.15 GB, free: 17.64 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=36): time 2.314e-06/1.093, allocations: 0 / 1.15 GB, free: 17.64 MB / 0.8731 GB Notification: Performance of matching and sorting (n=36): time 0.001168/1.094, allocations: 0.5471 MB / 1.151 GB, free: 17.43 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/1.094, allocations: 54.59 kB / 1.151 GB, free: 17.36 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005644/1.095, allocations: 0.4979 MB / 1.151 GB, free: 17.13 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.611e-05/1.095, allocations: 39.98 kB / 1.151 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002269/1.095, allocations: 317.1 kB / 1.152 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/1.095, allocations: 125.3 kB / 1.152 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/1.095, allocations: 84.33 kB / 1.152 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001564/1.096, allocations: 371.7 kB / 1.152 GB, free: 16.36 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/1.096, allocations: 153.6 kB / 1.152 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003192/1.096, allocations: 260 kB / 1.153 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005428/1.097, allocations: 410.3 kB / 1.153 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/1.097, allocations: 1.125 kB / 1.153 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007416/1.098, allocations: 489.1 kB / 1.153 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/1.098, allocations: 4.875 kB / 1.153 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/1.098, allocations: 2.469 kB / 1.153 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/1.098, allocations: 5.219 kB / 1.153 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005863/1.098, allocations: 102.3 kB / 1.154 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003625/1.099, allocations: 0.6063 MB / 1.154 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007054/1.099, allocations: 76.17 kB / 1.154 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.257e-05/1.099, allocations: 17.44 kB / 1.154 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004678/1.1, allocations: 332.8 kB / 1.155 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003244/1.1, allocations: 256.2 kB / 1.155 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005121/1.101, allocations: 399.7 kB / 1.155 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.284e-06/1.101, allocations: 0.8438 kB / 1.155 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007202/1.101, allocations: 491.3 kB / 1.156 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/1.101, allocations: 5.5 kB / 1.156 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/1.101, allocations: 6.562 kB / 1.156 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-06/1.101, allocations: 11.08 kB / 1.156 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003536/1.102, allocations: 86.11 kB / 1.156 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/1.102, allocations: 4.844 kB / 1.156 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000571/1.102, allocations: 67.69 kB / 1.156 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-05/1.102, allocations: 17.75 kB / 1.156 GB, free: 14.21 MB / 0.8731 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.0001788/1.103, allocations: 211.2 kB / 1.156 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/1.103, allocations: 58.91 kB / 1.156 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007382/1.103, allocations: 442.1 kB / 1.156 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/1.103, allocations: 3.594 kB / 1.156 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.103, allocations: 1.688 kB / 1.156 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006095/1.104, allocations: 0.6637 MB / 1.157 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/1.106, allocations: 1.204 MB / 1.158 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/1.106, allocations: 1.375 kB / 1.158 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004561/1.106, allocations: 95.75 kB / 1.158 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/1.106, allocations: 10.91 kB / 1.158 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/1.106, allocations: 16.67 kB / 1.158 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002936/1.107, allocations: 0.5934 MB / 1.159 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.107, allocations: 1.375 kB / 1.159 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008463/1.107, allocations: 0.7026 MB / 1.16 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002383/1.108, allocations: 180.6 kB / 1.16 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.821e-05/1.108, allocations: 15.84 kB / 1.16 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004454/1.108, allocations: 43.36 kB / 1.16 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/1.108, allocations: 29.78 kB / 1.16 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/1.108, allocations: 13.11 kB / 1.16 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000399/1.109, allocations: 360.7 kB / 1.16 GB, free: 11.17 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.1e-07/1.109, allocations: 0 / 1.16 GB, free: 11.17 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001064/1.11, allocations: 346.7 kB / 1.161 GB, free: 11.11 MB / 0.8731 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.0004822/1.11, allocations: 190.2 kB / 1.161 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001297/1.112, allocations: 0.637 MB / 1.161 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.112, allocations: 1.094 kB / 1.161 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003183/1.112, allocations: 194.2 kB / 1.162 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/1.114, allocations: 364.6 kB / 1.162 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/1.116, allocations: 1.63 MB / 1.164 GB, free: 9.523 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004427/1.116, allocations: 0.9395 MB / 1.164 GB, free: 8.793 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/1.117, allocations: 59.88 kB / 1.165 GB, free: 8.777 MB / 0.8731 GB Notification: Performance of SimCode: time 4.5e-07/1.117, allocations: 0 / 1.165 GB, free: 8.777 MB / 0.8731 GB Notification: Performance of Templates: time 0.01732/1.134, allocations: 12.63 MB / 1.177 GB, free: 4.832 MB / 0.8731 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches