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.001625/0.001625, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002597/0.002597, allocations: 191.7 kB / 16.14 MB, free: 6.711 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.392/1.392, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.461/2.461, allocations: 390.2 MB / 0.6642 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001628, allocations: 63.91 kB / 0.8118 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7149/0.7166, allocations: 140.4 MB / 0.9489 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.2052/0.9218, allocations: 184.6 MB / 1.129 GB, free: 8.914 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.008077/0.9299, allocations: 4.629 MB / 1.134 GB, free: 4.273 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0012/0.9312, allocations: 31.81 kB / 1.134 GB, free: 4.242 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.9325, allocations: 342.1 kB / 1.134 GB, free: 3.906 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003883/0.9364, allocations: 1.264 MB / 1.135 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002065/0.9385, allocations: 0.6883 MB / 1.136 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003062/0.9416, allocations: 2.74 MB / 1.139 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.9426, allocations: 0.5588 MB / 1.139 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003739/0.9464, allocations: 0.9544 MB / 1.14 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001477/0.9479, allocations: 0.6047 MB / 1.141 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002088/0.9481, allocations: 43.94 kB / 1.141 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003281/0.9514, allocations: 1.559 MB / 1.142 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004444/0.9518, allocations: 259.2 kB / 1.142 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0008331/0.9527, allocations: 382.1 kB / 1.143 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003912/0.9566, allocations: 1.511 MB / 1.144 GB, free: 9.324 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.9566, allocations: 0 / 1.144 GB, free: 9.324 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.674e-06/0.9566, allocations: 0 / 1.144 GB, free: 9.324 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.568e-05/0.9567, allocations: 0 / 1.144 GB, free: 9.324 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.002799/0.9595, allocations: 1.091 MB / 1.145 GB, free: 8.184 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.937e-05/0.9596, allocations: 12.03 kB / 1.145 GB, free: 8.172 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001627/0.9612, allocations: 206.9 kB / 1.146 GB, free: 7.969 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.9625, allocations: 0.5793 MB / 1.146 GB, free: 7.348 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.714e-05/0.9625, allocations: 41.31 kB / 1.146 GB, free: 7.309 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.9626, allocations: 55.91 kB / 1.146 GB, free: 7.254 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.9638, allocations: 0.6206 MB / 1.147 GB, free: 6.617 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.9638, allocations: 3.938 kB / 1.147 GB, free: 6.613 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.348e-05/0.9638, allocations: 24 kB / 1.147 GB, free: 6.59 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-05/0.9639, allocations: 21.31 kB / 1.147 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008577/0.9648, allocations: 0.4969 MB / 1.147 GB, free: 6.07 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.00337/0.9681, allocations: 2.392 MB / 1.15 GB, free: 3.465 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000654/0.9688, allocations: 354.5 kB / 1.15 GB, free: 3.109 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000312/0.9691, allocations: 208.8 kB / 1.15 GB, free: 2.902 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006622/0.9698, allocations: 315.2 kB / 1.151 GB, free: 2.539 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.9698, allocations: 34.56 kB / 1.151 GB, free: 2.496 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=36): time 2.675e-06/0.9699, allocations: 0 / 1.151 GB, free: 2.496 MB / 0.9044 GB Notification: Performance of matching and sorting (n=36): time 0.001259/0.9711, allocations: 0.5524 MB / 1.151 GB, free: 1.938 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.9712, allocations: 59.27 kB / 1.151 GB, free: 1.867 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006215/0.9718, allocations: 0.4911 MB / 1.152 GB, free: 1.363 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.558e-05/0.9719, allocations: 41.64 kB / 1.152 GB, free: 1.316 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002302/0.9721, allocations: 315.8 kB / 1.152 GB, free: 1.004 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.9723, allocations: 126.2 kB / 1.152 GB, free: 0.8789 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.9724, allocations: 86.03 kB / 1.152 GB, free: 0.7891 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.9726, allocations: 366.8 kB / 1.153 GB, free: 432 kB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.9728, allocations: 154.5 kB / 1.153 GB, free: 276 kB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003392/0.9732, allocations: 259.7 kB / 1.153 GB, free: 15.98 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005744/0.9738, allocations: 414.3 kB / 1.153 GB, free: 15.54 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.9738, allocations: 0 / 1.153 GB, free: 15.54 MB / 0.92 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000769/0.9746, allocations: 480.9 kB / 1.154 GB, free: 15.07 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.9746, allocations: 8 kB / 1.154 GB, free: 15.06 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.9746, allocations: 0 / 1.154 GB, free: 15.06 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.9746, allocations: 12.27 kB / 1.154 GB, free: 15.05 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006152/0.9752, allocations: 111.8 kB / 1.154 GB, free: 14.94 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004177/0.9757, allocations: 0.5937 MB / 1.155 GB, free: 14.32 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006732/0.9764, allocations: 75.61 kB / 1.155 GB, free: 14.25 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.026e-05/0.9764, allocations: 20 kB / 1.155 GB, free: 14.23 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004745/0.9769, allocations: 328.9 kB / 1.155 GB, free: 13.9 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003218/0.9772, allocations: 259.4 kB / 1.155 GB, free: 13.61 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000588/0.9778, allocations: 404.5 kB / 1.156 GB, free: 13.18 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.765e-06/0.9779, allocations: 0 / 1.156 GB, free: 13.18 MB / 0.92 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007495/0.9786, allocations: 488.5 kB / 1.156 GB, free: 12.7 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.9786, allocations: 7.984 kB / 1.156 GB, free: 12.69 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.9786, allocations: 7.938 kB / 1.156 GB, free: 12.68 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.342e-06/0.9787, allocations: 4 kB / 1.156 GB, free: 12.68 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/0.979, allocations: 87.84 kB / 1.156 GB, free: 12.59 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.979, allocations: 4.281 kB / 1.156 GB, free: 12.59 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006068/0.9797, allocations: 75.64 kB / 1.156 GB, free: 12.52 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.522e-05/0.9797, allocations: 16 kB / 1.156 GB, free: 12.5 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.0001801/0.9799, allocations: 210.2 kB / 1.156 GB, free: 12.29 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.98, allocations: 59.28 kB / 1.156 GB, free: 12.23 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007351/0.9808, allocations: 445.4 kB / 1.157 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.9808, allocations: 4 kB / 1.157 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.9808, allocations: 0 / 1.157 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006226/0.9814, allocations: 0.6637 MB / 1.158 GB, free: 11.04 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/0.9832, allocations: 1.2 MB / 1.159 GB, free: 9.758 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.9832, allocations: 4.219 kB / 1.159 GB, free: 9.754 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004995/0.9838, allocations: 95.88 kB / 1.159 GB, free: 9.66 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/0.9838, allocations: 7.938 kB / 1.159 GB, free: 9.652 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.263e-05/0.9838, allocations: 8 kB / 1.159 GB, free: 9.645 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003014/0.9841, allocations: 0.5938 MB / 1.159 GB, free: 9.027 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.9841, allocations: 4 kB / 1.159 GB, free: 9.023 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009084/0.985, allocations: 0.7004 MB / 1.16 GB, free: 8.285 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002903/0.9853, allocations: 184.3 kB / 1.16 GB, free: 8.086 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.9855, allocations: 15.94 kB / 1.16 GB, free: 8.07 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005226/0.986, allocations: 41.22 kB / 1.16 GB, free: 8.031 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.645e-05/0.9861, allocations: 23.97 kB / 1.16 GB, free: 8.008 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-05/0.9861, allocations: 12 kB / 1.16 GB, free: 7.996 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004274/0.9865, allocations: 362.8 kB / 1.161 GB, free: 7.645 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9865, allocations: 0 / 1.161 GB, free: 7.645 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001013/0.9875, allocations: 347.1 kB / 1.161 GB, free: 7.305 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.0005268/0.9881, allocations: 202.1 kB / 1.161 GB, free: 7.109 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00124/0.9893, allocations: 0.5941 MB / 1.162 GB, free: 6.516 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.9894, allocations: 4 kB / 1.162 GB, free: 6.512 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003649/0.9897, allocations: 187.7 kB / 1.162 GB, free: 6.328 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001772/0.9915, allocations: 361.3 kB / 1.162 GB, free: 5.977 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.994, allocations: 1.574 MB / 1.164 GB, free: 4.352 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005346/0.9945, allocations: 0.9456 MB / 1.165 GB, free: 3.379 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0007443/0.9953, allocations: 204.9 kB / 1.165 GB, free: 3.18 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/0.9955, allocations: 51.44 kB / 1.165 GB, free: 3.129 MB / 0.92 GB Notification: Performance of SimCode: time 5.21e-07/0.9955, allocations: 3.938 kB / 1.165 GB, free: 3.125 MB / 0.92 GB Notification: Performance of Templates: time 0.02194/1.017, allocations: 11.41 MB / 1.176 GB, free: 7.887 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