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.008741/0.00874, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.001969/0.001969, allocations: 190.3 kB / 16.67 MB, free: 5.93 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.38/2.38, allocations: 390.2 MB / 0.6648 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 66.92 kB / 0.9509 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3524, allocations: 140.4 MB / 1.088 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.9147/1.267, allocations: 186.8 MB / 1.27 GB, free: 3.512 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009207/1.276, allocations: 4.567 MB / 1.275 GB, free: 3.457 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001302/1.278, allocations: 32.06 kB / 1.275 GB, free: 3.457 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001359/1.279, allocations: 422.2 kB / 1.275 GB, free: 3.453 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004232/1.283, allocations: 1.4 MB / 1.277 GB, free: 3.395 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002751/1.286, allocations: 0.7591 MB / 1.277 GB, free: 3.379 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003476/1.29, allocations: 1.961 MB / 1.279 GB, free: 3.375 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00131/1.291, allocations: 0.6651 MB / 1.28 GB, free: 3.32 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004364/1.295, allocations: 1.115 MB / 1.281 GB, free: 3.305 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/1.297, allocations: 0.5858 MB / 1.282 GB, free: 3.301 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001341/1.297, allocations: 65.19 kB / 1.282 GB, free: 3.301 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004628/1.301, allocations: 1.392 MB / 1.283 GB, free: 3.285 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005577/1.302, allocations: 287.6 kB / 1.283 GB, free: 3.285 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0008208/1.303, allocations: 419.5 kB / 1.284 GB, free: 3.285 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004687/1.307, allocations: 1.475 MB / 1.285 GB, free: 3.199 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/1.307, allocations: 0.5312 kB / 1.285 GB, free: 3.199 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.365e-06/1.307, allocations: 1.625 kB / 1.285 GB, free: 3.199 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.582e-05/1.307, allocations: 0 / 1.285 GB, free: 3.199 MB / 1.014 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.002351/1.31, allocations: 1.124 MB / 1.286 GB, free: 2.516 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/1.31, allocations: 9.469 kB / 1.286 GB, free: 2.516 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00139/1.311, allocations: 208.5 kB / 1.286 GB, free: 2.473 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/1.312, allocations: 0.6167 MB / 1.287 GB, free: 2.188 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.42e-05/1.312, allocations: 44.69 kB / 1.287 GB, free: 2.188 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/1.313, allocations: 59.61 kB / 1.287 GB, free: 2.188 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/1.314, allocations: 0.6183 MB / 1.288 GB, free: 2.113 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/1.314, allocations: 2.516 kB / 1.288 GB, free: 2.113 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.822e-05/1.314, allocations: 18.97 kB / 1.288 GB, free: 2.113 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.428e-05/1.314, allocations: 19.81 kB / 1.288 GB, free: 2.113 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008731/1.315, allocations: 0.4946 MB / 1.288 GB, free: 2.105 MB / 1.014 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.003154/1.318, allocations: 2.402 MB / 1.291 GB, free: 16.81 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006762/1.319, allocations: 359.2 kB / 1.291 GB, free: 16.78 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003287/1.319, allocations: 209.9 kB / 1.291 GB, free: 16.77 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006136/1.32, allocations: 312.2 kB / 1.291 GB, free: 16.49 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/1.32, allocations: 37.12 kB / 1.291 GB, free: 16.45 MB / 1.029 GB Notification: Performance of pre-optimization done (n=36): time 1.784e-06/1.32, allocations: 1.094 kB / 1.291 GB, free: 16.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=36): time 0.001192/1.321, allocations: 0.5491 MB / 1.292 GB, free: 16.38 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/1.321, allocations: 56.41 kB / 1.292 GB, free: 16.32 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006549/1.322, allocations: 0.4998 MB / 1.293 GB, free: 16.2 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.337e-05/1.322, allocations: 35.48 kB / 1.293 GB, free: 16.17 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/1.322, allocations: 319.2 kB / 1.293 GB, free: 16.02 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/1.322, allocations: 137.2 kB / 1.293 GB, free: 15.93 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/1.322, allocations: 86.45 kB / 1.293 GB, free: 15.91 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001754/1.322, allocations: 363.3 kB / 1.293 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000261/1.323, allocations: 155.2 kB / 1.294 GB, free: 15.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003653/1.323, allocations: 258 kB / 1.294 GB, free: 15.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005708/1.324, allocations: 408.5 kB / 1.294 GB, free: 15.4 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/1.324, allocations: 9 kB / 1.294 GB, free: 15.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007688/1.324, allocations: 494.5 kB / 1.295 GB, free: 15.32 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/1.324, allocations: 7.281 kB / 1.295 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/1.324, allocations: 2.641 kB / 1.295 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/1.324, allocations: 4.375 kB / 1.295 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005818/1.325, allocations: 104.6 kB / 1.295 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003844/1.325, allocations: 0.5927 MB / 1.295 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000505/1.326, allocations: 51.27 kB / 1.295 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.69e-05/1.326, allocations: 18.56 kB / 1.295 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004637/1.326, allocations: 329 kB / 1.296 GB, free: 14.62 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003326/1.327, allocations: 260.5 kB / 1.296 GB, free: 14.52 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005813/1.327, allocations: 399.8 kB / 1.296 GB, free: 14.43 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.734e-06/1.327, allocations: 1.062 kB / 1.296 GB, free: 14.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007888/1.328, allocations: 491.9 kB / 1.297 GB, free: 14.36 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/1.328, allocations: 6.812 kB / 1.297 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/1.328, allocations: 3 kB / 1.297 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.434e-06/1.328, allocations: 5.266 kB / 1.297 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003869/1.329, allocations: 88.92 kB / 1.297 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/1.329, allocations: 5.484 kB / 1.297 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004516/1.329, allocations: 37.42 kB / 1.297 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.06e-05/1.329, allocations: 26.23 kB / 1.297 GB, free: 14.34 MB / 1.029 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.0001695/1.329, allocations: 210.1 kB / 1.297 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/1.329, allocations: 59.31 kB / 1.297 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008126/1.33, allocations: 440.8 kB / 1.298 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/1.33, allocations: 3.625 kB / 1.298 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/1.33, allocations: 2.312 kB / 1.298 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007383/1.331, allocations: 0.6628 MB / 1.298 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002081/1.333, allocations: 1.209 MB / 1.3 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/1.333, allocations: 3.375 kB / 1.3 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000477/1.334, allocations: 91.88 kB / 1.3 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/1.334, allocations: 3.75 kB / 1.3 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.273e-05/1.334, allocations: 12.45 kB / 1.3 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003212/1.334, allocations: 0.5886 MB / 1.3 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/1.334, allocations: 5.625 kB / 1.3 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009766/1.335, allocations: 0.7124 MB / 1.301 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002706/1.335, allocations: 180.5 kB / 1.301 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.315e-05/1.335, allocations: 18.95 kB / 1.301 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003787/1.336, allocations: 12.81 kB / 1.301 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-05/1.336, allocations: 29.69 kB / 1.301 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/1.336, allocations: 19.23 kB / 1.301 GB, free: 12.29 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004956/1.336, allocations: 356.1 kB / 1.302 GB, free: 12.21 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.734e-06/1.336, allocations: 0 / 1.302 GB, free: 12.21 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001207/1.338, allocations: 354.4 kB / 1.302 GB, free: 12.16 MB / 1.029 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.0005523/1.338, allocations: 199.1 kB / 1.302 GB, free: 12.05 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001274/1.339, allocations: 0.5906 MB / 1.303 GB, free: 12.04 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.339, allocations: 3.172 kB / 1.303 GB, free: 12.04 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003382/1.34, allocations: 187.4 kB / 1.303 GB, free: 12.04 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001731/1.342, allocations: 361.2 kB / 1.303 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002729/1.344, allocations: 1.358 MB / 1.304 GB, free: 11.42 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007375/1.345, allocations: 0.9431 MB / 1.305 GB, free: 10.72 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000749/1.346, allocations: 207.7 kB / 1.306 GB, free: 10.69 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/1.346, allocations: 53.2 kB / 1.306 GB, free: 10.68 MB / 1.029 GB Notification: Performance of SimCode: time 3.7e-07/1.346, allocations: 0 / 1.306 GB, free: 10.68 MB / 1.029 GB Notification: Performance of Templates: time 0.02535/1.371, allocations: 11.89 MB / 1.317 GB, free: 9.941 MB / 1.029 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