Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001522/0.001522, allocations: 112.5 kB / 15.73 MB, free: 76 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.001714/0.001714, allocations: 192.4 kB / 16.67 MB, free: 6.574 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.38/1.38, allocations: 222.9 MB / 240.3 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.803/2.803, allocations: 469.8 MB / 0.7425 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 64.11 kB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3369, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.9879/1.325, allocations: 187.3 MB / 1.404 GB, free: 2.793 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.008675/1.333, allocations: 4.572 MB / 1.408 GB, free: 15.09 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001389/1.335, allocations: 36.16 kB / 1.408 GB, free: 15.07 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.00134/1.336, allocations: 416.6 kB / 1.408 GB, free: 14.73 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003899/1.34, allocations: 1.409 MB / 1.41 GB, free: 13.65 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00224/1.342, allocations: 0.7556 MB / 1.411 GB, free: 13.08 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002907/1.345, allocations: 1.966 MB / 1.412 GB, free: 11.95 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009577/1.346, allocations: 0.5503 MB / 1.413 GB, free: 11.59 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003432/1.35, allocations: 1.113 MB / 1.414 GB, free: 10.93 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001267/1.351, allocations: 0.5862 MB / 1.415 GB, free: 10.59 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001738/1.351, allocations: 64.59 kB / 1.415 GB, free: 10.59 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002986/1.354, allocations: 1.393 MB / 1.416 GB, free: 9.812 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.00037/1.354, allocations: 295.4 kB / 1.416 GB, free: 9.613 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005302/1.355, allocations: 414 kB / 1.417 GB, free: 9.359 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002586/1.358, allocations: 1.476 MB / 1.418 GB, free: 8.426 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/1.358, allocations: 0 / 1.418 GB, free: 8.426 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.674e-06/1.358, allocations: 0 / 1.418 GB, free: 8.426 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.468e-05/1.358, allocations: 3.984 kB / 1.418 GB, free: 8.422 MB / 1.107 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.001675/1.359, allocations: 1.129 MB / 1.419 GB, free: 7.508 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/1.359, allocations: 10.5 kB / 1.419 GB, free: 7.508 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001339/1.361, allocations: 208.3 kB / 1.419 GB, free: 7.41 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000965/1.362, allocations: 0.617 MB / 1.42 GB, free: 6.91 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.761e-05/1.362, allocations: 39.91 kB / 1.42 GB, free: 6.895 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.295e-05/1.362, allocations: 62.12 kB / 1.42 GB, free: 6.871 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000936/1.363, allocations: 0.6184 MB / 1.421 GB, free: 6.496 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/1.363, allocations: 0 / 1.421 GB, free: 6.496 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.461e-05/1.363, allocations: 24.66 kB / 1.421 GB, free: 6.477 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.066e-05/1.363, allocations: 23.67 kB / 1.421 GB, free: 6.473 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007511/1.363, allocations: 0.4884 MB / 1.421 GB, free: 6.238 MB / 1.107 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.002937/1.366, allocations: 2.412 MB / 1.424 GB, free: 4.121 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005859/1.367, allocations: 354 kB / 1.424 GB, free: 3.934 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002861/1.367, allocations: 201.4 kB / 1.424 GB, free: 3.836 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005785/1.368, allocations: 305 kB / 1.424 GB, free: 3.527 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/1.368, allocations: 37.94 kB / 1.425 GB, free: 3.484 MB / 1.107 GB Notification: Performance of pre-optimization done (n=36): time 1.522e-06/1.368, allocations: 0 / 1.425 GB, free: 3.484 MB / 1.107 GB Notification: Performance of matching and sorting (n=36): time 0.001183/1.369, allocations: 0.5557 MB / 1.425 GB, free: 3.199 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/1.369, allocations: 56.16 kB / 1.425 GB, free: 3.137 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005365/1.37, allocations: 0.5017 MB / 1.426 GB, free: 2.828 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/1.37, allocations: 36.67 kB / 1.426 GB, free: 2.789 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002094/1.37, allocations: 321.2 kB / 1.426 GB, free: 2.508 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/1.37, allocations: 134.2 kB / 1.426 GB, free: 2.391 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/1.37, allocations: 83.16 kB / 1.426 GB, free: 2.34 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001437/1.37, allocations: 367.8 kB / 1.427 GB, free: 1.984 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/1.371, allocations: 154.9 kB / 1.427 GB, free: 1.898 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000319/1.371, allocations: 263.7 kB / 1.427 GB, free: 1.598 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005364/1.371, allocations: 406.2 kB / 1.427 GB, free: 1.172 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/1.371, allocations: 0 / 1.427 GB, free: 1.172 MB / 1.107 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007294/1.372, allocations: 493.5 kB / 1.428 GB, free: 0.6836 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/1.372, allocations: 4 kB / 1.428 GB, free: 0.6797 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/1.372, allocations: 4 kB / 1.428 GB, free: 0.6758 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/1.372, allocations: 4 kB / 1.428 GB, free: 0.6719 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005579/1.373, allocations: 103.8 kB / 1.428 GB, free: 0.5703 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003764/1.373, allocations: 0.6017 MB / 1.428 GB, free: 15.95 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004769/1.374, allocations: 43.72 kB / 1.429 GB, free: 15.91 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.833e-05/1.374, allocations: 16 kB / 1.429 GB, free: 15.89 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004195/1.374, allocations: 328.9 kB / 1.429 GB, free: 15.57 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003178/1.374, allocations: 263.5 kB / 1.429 GB, free: 15.27 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005255/1.375, allocations: 396.3 kB / 1.429 GB, free: 14.86 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/1.375, allocations: 0 / 1.429 GB, free: 14.86 MB / 1.123 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007004/1.376, allocations: 489.3 kB / 1.43 GB, free: 14.37 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/1.376, allocations: 10.34 kB / 1.43 GB, free: 14.36 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/1.376, allocations: 3.938 kB / 1.43 GB, free: 14.36 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/1.376, allocations: 15.88 kB / 1.43 GB, free: 14.34 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003525/1.376, allocations: 83.91 kB / 1.43 GB, free: 14.26 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/1.376, allocations: 4 kB / 1.43 GB, free: 14.26 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004303/1.376, allocations: 35.77 kB / 1.43 GB, free: 14.22 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/1.376, allocations: 16 kB / 1.43 GB, free: 14.21 MB / 1.123 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.0001475/1.377, allocations: 212.2 kB / 1.43 GB, free: 13.99 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.783e-05/1.377, allocations: 67.55 kB / 1.43 GB, free: 13.93 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007101/1.377, allocations: 448.9 kB / 1.431 GB, free: 13.48 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/1.377, allocations: 4 kB / 1.431 GB, free: 13.48 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.377, allocations: 0 / 1.431 GB, free: 13.48 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006012/1.378, allocations: 0.6533 MB / 1.431 GB, free: 12.74 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001636/1.38, allocations: 1.211 MB / 1.433 GB, free: 11.45 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/1.38, allocations: 0 / 1.433 GB, free: 11.45 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004746/1.38, allocations: 91.89 kB / 1.433 GB, free: 11.36 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/1.38, allocations: 4.219 kB / 1.433 GB, free: 11.36 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.602e-05/1.38, allocations: 15.98 kB / 1.433 GB, free: 11.34 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002875/1.38, allocations: 0.5976 MB / 1.433 GB, free: 10.72 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.38, allocations: 0 / 1.433 GB, free: 10.72 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008654/1.381, allocations: 0.7167 MB / 1.434 GB, free: 9.961 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002099/1.381, allocations: 180.7 kB / 1.434 GB, free: 9.766 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.847e-05/1.382, allocations: 12.44 kB / 1.434 GB, free: 9.754 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003768/1.382, allocations: 9.5 kB / 1.434 GB, free: 9.746 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.678e-05/1.382, allocations: 32.05 kB / 1.434 GB, free: 9.715 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-05/1.382, allocations: 23.55 kB / 1.434 GB, free: 9.695 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0003855/1.382, allocations: 354.8 kB / 1.435 GB, free: 9.352 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/1.382, allocations: 0 / 1.435 GB, free: 9.352 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0009365/1.383, allocations: 355.3 kB / 1.435 GB, free: 9.004 MB / 1.123 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.0004898/1.384, allocations: 200.5 kB / 1.435 GB, free: 8.809 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001134/1.385, allocations: 0.559 MB / 1.436 GB, free: 8.25 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/1.385, allocations: 4 kB / 1.436 GB, free: 8.246 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003002/1.385, allocations: 179.7 kB / 1.436 GB, free: 8.07 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/1.387, allocations: 367.4 kB / 1.436 GB, free: 7.719 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/1.389, allocations: 1.362 MB / 1.438 GB, free: 6.301 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005533/1.39, allocations: 0.9375 MB / 1.438 GB, free: 5.336 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0006283/1.39, allocations: 204.9 kB / 1.439 GB, free: 5.137 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/1.39, allocations: 51.44 kB / 1.439 GB, free: 5.086 MB / 1.123 GB Notification: Performance of SimCode: time 5.01e-07/1.39, allocations: 0 / 1.439 GB, free: 5.086 MB / 1.123 GB Notification: Performance of Templates: time 0.02294/1.413, allocations: 11.94 MB / 1.45 GB, free: 9.312 MB / 1.139 GB make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_MassFraction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches