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.001269/0.001269, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.389/1.389, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.381/2.381, allocations: 390.2 MB / 0.6647 GB, free: 492 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 63.91 kB / 0.8125 GB, free: 14.49 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7456/0.7469, allocations: 140.4 MB / 0.9496 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.2156/0.9626, allocations: 186.8 MB / 1.132 GB, free: 6.414 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.008456/0.9711, allocations: 4.574 MB / 1.136 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001347/0.9725, allocations: 35.75 kB / 1.136 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00149/0.9741, allocations: 409.4 kB / 1.137 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004071/0.9782, allocations: 1.341 MB / 1.138 GB, free: 48 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002489/0.9807, allocations: 0.7527 MB / 1.139 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002928/0.9836, allocations: 1.96 MB / 1.141 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.9846, allocations: 0.6554 MB / 1.141 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003149/0.9878, allocations: 1.067 MB / 1.143 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001179/0.989, allocations: 0.5869 MB / 1.143 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.9891, allocations: 67.98 kB / 1.143 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00316/0.9923, allocations: 1.376 MB / 1.144 GB, free: 9.566 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003344/0.9927, allocations: 287.2 kB / 1.145 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006099/0.9933, allocations: 418.1 kB / 1.145 GB, free: 8.875 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002667/0.9959, allocations: 1.461 MB / 1.147 GB, free: 7.41 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.996, allocations: 0 / 1.147 GB, free: 7.41 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.604e-06/0.996, allocations: 0 / 1.147 GB, free: 7.41 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.996, allocations: 0 / 1.147 GB, free: 7.41 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.001768/0.9978, allocations: 1.096 MB / 1.148 GB, free: 6.262 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.9978, allocations: 8.031 kB / 1.148 GB, free: 6.254 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001301/0.9991, allocations: 206.9 kB / 1.148 GB, free: 6.051 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000923/1, allocations: 0.5793 MB / 1.148 GB, free: 5.43 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/1, allocations: 37.31 kB / 1.148 GB, free: 5.395 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.837e-05/1, allocations: 55.91 kB / 1.149 GB, free: 5.34 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009754/1.001, allocations: 0.6167 MB / 1.149 GB, free: 4.707 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/1.001, allocations: 7.938 kB / 1.149 GB, free: 4.699 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.074e-05/1.001, allocations: 31.97 kB / 1.149 GB, free: 4.668 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.298e-05/1.001, allocations: 17.31 kB / 1.149 GB, free: 4.648 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007701/1.002, allocations: 0.4931 MB / 1.15 GB, free: 4.156 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.002836/1.005, allocations: 2.408 MB / 1.152 GB, free: 1.543 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006267/1.006, allocations: 361.1 kB / 1.152 GB, free: 1.184 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002914/1.006, allocations: 225.8 kB / 1.153 GB, free: 0.9609 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000567/1.006, allocations: 311.2 kB / 1.153 GB, free: 0.6016 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/1.007, allocations: 34.56 kB / 1.153 GB, free: 0.5586 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=36): time 1.723e-06/1.007, allocations: 0 / 1.153 GB, free: 0.5586 MB / 0.9044 GB Notification: Performance of matching and sorting (n=36): time 0.001132/1.008, allocations: 0.5446 MB / 1.153 GB, free: 8 kB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.315e-05/1.008, allocations: 63.27 kB / 1.153 GB, free: 15.93 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005539/1.008, allocations: 0.5028 MB / 1.154 GB, free: 15.42 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/1.008, allocations: 33.7 kB / 1.154 GB, free: 15.38 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002282/1.009, allocations: 315.8 kB / 1.154 GB, free: 15.07 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/1.009, allocations: 126.2 kB / 1.154 GB, free: 14.95 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/1.009, allocations: 86.03 kB / 1.155 GB, free: 14.86 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001624/1.009, allocations: 358.8 kB / 1.155 GB, free: 14.5 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/1.009, allocations: 162.5 kB / 1.155 GB, free: 14.34 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003236/1.01, allocations: 259.7 kB / 1.155 GB, free: 14.04 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005441/1.01, allocations: 406.2 kB / 1.156 GB, free: 13.62 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/1.01, allocations: 8 kB / 1.156 GB, free: 13.61 MB / 0.92 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007168/1.011, allocations: 480.9 kB / 1.156 GB, free: 13.13 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/1.011, allocations: 8 kB / 1.156 GB, free: 13.12 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/1.011, allocations: 0 / 1.156 GB, free: 13.12 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/1.011, allocations: 4 kB / 1.156 GB, free: 13.12 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005763/1.012, allocations: 108.1 kB / 1.156 GB, free: 13.02 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003817/1.012, allocations: 0.5937 MB / 1.157 GB, free: 12.4 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004682/1.012, allocations: 47.67 kB / 1.157 GB, free: 12.35 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/1.012, allocations: 16 kB / 1.157 GB, free: 12.34 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004274/1.013, allocations: 328.9 kB / 1.157 GB, free: 12.01 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003039/1.013, allocations: 259.5 kB / 1.157 GB, free: 11.72 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000523/1.014, allocations: 404.6 kB / 1.158 GB, free: 11.29 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/1.014, allocations: 0 / 1.158 GB, free: 11.29 MB / 0.92 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0006875/1.014, allocations: 496.4 kB / 1.158 GB, free: 10.8 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.318e-06/1.014, allocations: 4 kB / 1.158 GB, free: 10.8 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/1.014, allocations: 11.92 kB / 1.158 GB, free: 10.79 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.971e-06/1.015, allocations: 7.938 kB / 1.158 GB, free: 10.78 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/1.015, allocations: 83.84 kB / 1.158 GB, free: 10.7 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/1.015, allocations: 4 kB / 1.158 GB, free: 10.69 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004422/1.015, allocations: 36.11 kB / 1.158 GB, free: 10.66 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.199e-05/1.015, allocations: 16 kB / 1.158 GB, free: 10.64 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.0001679/1.016, allocations: 212.6 kB / 1.159 GB, free: 10.43 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.879e-05/1.016, allocations: 63.19 kB / 1.159 GB, free: 10.36 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007046/1.016, allocations: 441.2 kB / 1.159 GB, free: 9.918 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/1.016, allocations: 4 kB / 1.159 GB, free: 9.914 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/1.016, allocations: 3.938 kB / 1.159 GB, free: 9.91 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006379/1.017, allocations: 0.6598 MB / 1.16 GB, free: 9.164 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001584/1.019, allocations: 1.207 MB / 1.161 GB, free: 7.879 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/1.019, allocations: 224 / 1.161 GB, free: 7.879 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004466/1.019, allocations: 91.89 kB / 1.161 GB, free: 7.789 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.782e-06/1.019, allocations: 7.984 kB / 1.161 GB, free: 7.781 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/1.019, allocations: 12 kB / 1.161 GB, free: 7.77 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002984/1.019, allocations: 0.5937 MB / 1.162 GB, free: 7.152 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.019, allocations: 4 kB / 1.162 GB, free: 7.148 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000857/1.02, allocations: 0.7002 MB / 1.162 GB, free: 6.41 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002054/1.021, allocations: 184.4 kB / 1.163 GB, free: 6.211 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.711e-05/1.021, allocations: 11.94 kB / 1.163 GB, free: 6.199 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003737/1.021, allocations: 19.97 kB / 1.163 GB, free: 6.18 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/1.021, allocations: 23.97 kB / 1.163 GB, free: 6.156 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-05/1.021, allocations: 15.98 kB / 1.163 GB, free: 6.141 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003995/1.021, allocations: 354.8 kB / 1.163 GB, free: 5.797 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.883e-06/1.021, allocations: 0 / 1.163 GB, free: 5.797 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009422/1.022, allocations: 351.1 kB / 1.163 GB, free: 5.453 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.0004916/1.023, allocations: 190.7 kB / 1.163 GB, free: 5.262 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001247/1.024, allocations: 0.6291 MB / 1.164 GB, free: 4.633 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/1.024, allocations: 0 / 1.164 GB, free: 4.633 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003007/1.025, allocations: 189.3 kB / 1.164 GB, free: 4.449 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/1.026, allocations: 373.8 kB / 1.165 GB, free: 4.098 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/1.028, allocations: 1.344 MB / 1.166 GB, free: 2.703 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004966/1.029, allocations: 0.9452 MB / 1.167 GB, free: 1.73 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0006486/1.029, allocations: 204.9 kB / 1.167 GB, free: 1.527 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/1.03, allocations: 59.42 kB / 1.167 GB, free: 1.469 MB / 0.92 GB Notification: Performance of SimCode: time 2.61e-07/1.03, allocations: 0 / 1.167 GB, free: 1.469 MB / 0.92 GB Notification: Performance of Templates: time 0.01956/1.049, allocations: 11.79 MB / 1.179 GB, free: 5.871 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