Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.00144/0.00144, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001827/0.001827, allocations: 193 kB / 16.25 MB, free: 6.621 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.411/1.411, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.038/3.038, allocations: 472.6 MB / 0.7448 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 62.08 kB / 0.9116 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3742, allocations: 159.9 MB / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.2227/0.5969, allocations: 184.4 MB / 1.248 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6343/1.231, allocations: 4.526 MB / 1.252 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/1.232, allocations: 27.94 kB / 1.252 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001183/1.234, allocations: 360.9 kB / 1.253 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003565/1.237, allocations: 1.265 MB / 1.254 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002166/1.239, allocations: 0.6846 MB / 1.254 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002941/1.242, allocations: 1.969 MB / 1.256 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001025/1.243, allocations: 0.6404 MB / 1.257 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003515/1.247, allocations: 1.074 MB / 1.258 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001438/1.248, allocations: 0.6315 MB / 1.259 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001036/1.248, allocations: 67.16 kB / 1.259 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003697/1.252, allocations: 1.432 MB / 1.26 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005605/1.253, allocations: 289.9 kB / 1.26 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008387/1.254, allocations: 413.1 kB / 1.261 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003648/1.257, allocations: 1.544 MB / 1.262 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/1.257, allocations: 0.5156 kB / 1.262 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.633e-06/1.257, allocations: 0.875 kB / 1.262 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.865e-05/1.257, allocations: 0 / 1.262 GB, free: 5.371 MB / 0.9981 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.003344/1.261, allocations: 1.092 MB / 1.263 GB, free: 20.72 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/1.261, allocations: 10.5 kB / 1.263 GB, free: 20.72 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002192/1.263, allocations: 201.9 kB / 1.264 GB, free: 20.68 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/1.264, allocations: 0.5774 MB / 1.264 GB, free: 20.41 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.732e-05/1.265, allocations: 43.59 kB / 1.264 GB, free: 20.41 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/1.265, allocations: 55.84 kB / 1.264 GB, free: 20.41 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/1.266, allocations: 0.6211 MB / 1.265 GB, free: 20.33 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.871e-05/1.266, allocations: 4.5 kB / 1.265 GB, free: 20.33 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-05/1.266, allocations: 18.59 kB / 1.265 GB, free: 20.33 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.243e-05/1.266, allocations: 22.14 kB / 1.265 GB, free: 20.33 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/1.268, allocations: 0.4908 MB / 1.265 GB, free: 20.33 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.004574/1.272, allocations: 2.394 MB / 1.268 GB, free: 19.04 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009288/1.273, allocations: 354.1 kB / 1.268 GB, free: 19.02 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004586/1.274, allocations: 212.3 kB / 1.268 GB, free: 19.01 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008827/1.275, allocations: 307.8 kB / 1.269 GB, free: 18.73 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/1.275, allocations: 42.53 kB / 1.269 GB, free: 18.69 MB / 1.014 GB Notification: Performance of pre-optimization done (n=36): time 3.166e-06/1.275, allocations: 0.8125 kB / 1.269 GB, free: 18.69 MB / 1.014 GB Notification: Performance of matching and sorting (n=36): time 0.001716/1.276, allocations: 0.5461 MB / 1.269 GB, free: 18.63 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/1.276, allocations: 59.3 kB / 1.269 GB, free: 18.56 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008878/1.277, allocations: 0.4967 MB / 1.27 GB, free: 18.44 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.586e-05/1.277, allocations: 40.42 kB / 1.27 GB, free: 18.41 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003009/1.278, allocations: 314.7 kB / 1.27 GB, free: 18.26 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/1.278, allocations: 136.3 kB / 1.27 GB, free: 18.17 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002227/1.278, allocations: 80 kB / 1.27 GB, free: 18.16 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000222/1.278, allocations: 367 kB / 1.271 GB, free: 17.84 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004275/1.279, allocations: 156.8 kB / 1.271 GB, free: 17.83 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005689/1.279, allocations: 258.3 kB / 1.271 GB, free: 17.73 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009159/1.28, allocations: 409.9 kB / 1.271 GB, free: 17.64 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/1.28, allocations: 0.9062 kB / 1.271 GB, free: 17.64 MB / 1.014 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001239/1.282, allocations: 494 kB / 1.272 GB, free: 17.57 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/1.282, allocations: 7.625 kB / 1.272 GB, free: 17.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/1.282, allocations: 3.609 kB / 1.272 GB, free: 17.57 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.678e-05/1.282, allocations: 4.719 kB / 1.272 GB, free: 17.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008284/1.282, allocations: 98.28 kB / 1.272 GB, free: 17.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005399/1.283, allocations: 0.5969 MB / 1.273 GB, free: 16.99 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/1.284, allocations: 82.36 kB / 1.273 GB, free: 16.96 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.275e-05/1.284, allocations: 17.27 kB / 1.273 GB, free: 16.96 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008236/1.285, allocations: 328.3 kB / 1.273 GB, free: 16.88 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005035/1.286, allocations: 260.5 kB / 1.273 GB, free: 16.77 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008621/1.286, allocations: 407.2 kB / 1.274 GB, free: 16.69 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.97e-06/1.286, allocations: 0.5625 kB / 1.274 GB, free: 16.69 MB / 1.014 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001247/1.288, allocations: 491.5 kB / 1.274 GB, free: 16.62 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/1.288, allocations: 9.531 kB / 1.274 GB, free: 16.61 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/1.288, allocations: 4.906 kB / 1.274 GB, free: 16.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/1.288, allocations: 4.266 kB / 1.274 GB, free: 16.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005816/1.288, allocations: 85.92 kB / 1.274 GB, free: 16.61 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.776e-05/1.288, allocations: 5.344 kB / 1.274 GB, free: 16.61 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/1.289, allocations: 66.27 kB / 1.274 GB, free: 16.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.765e-05/1.289, allocations: 17.14 kB / 1.274 GB, free: 16.6 MB / 1.014 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.0002888/1.29, allocations: 208.8 kB / 1.274 GB, free: 16.42 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001948/1.29, allocations: 59.09 kB / 1.274 GB, free: 16.39 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/1.291, allocations: 446.8 kB / 1.275 GB, free: 16.33 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/1.291, allocations: 5 kB / 1.275 GB, free: 16.33 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/1.291, allocations: 0 / 1.275 GB, free: 16.33 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001208/1.293, allocations: 0.6617 MB / 1.276 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003572/1.296, allocations: 1.21 MB / 1.277 GB, free: 15.51 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/1.296, allocations: 1.438 kB / 1.277 GB, free: 15.51 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006841/1.297, allocations: 90.34 kB / 1.277 GB, free: 15.51 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-05/1.297, allocations: 9.781 kB / 1.277 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.018e-05/1.297, allocations: 13.5 kB / 1.277 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004433/1.297, allocations: 0.5924 MB / 1.277 GB, free: 14.92 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/1.297, allocations: 5.688 kB / 1.277 GB, free: 14.92 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/1.299, allocations: 0.6992 MB / 1.278 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004678/1.299, allocations: 179.6 kB / 1.278 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/1.299, allocations: 13.98 kB / 1.278 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008432/1.3, allocations: 45.25 kB / 1.278 GB, free: 14.56 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.796e-05/1.3, allocations: 25.19 kB / 1.278 GB, free: 14.56 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.043e-05/1.3, allocations: 18.45 kB / 1.278 GB, free: 14.56 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008155/1.301, allocations: 358.8 kB / 1.279 GB, free: 14.47 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.41e-07/1.301, allocations: 0.875 kB / 1.279 GB, free: 14.47 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001873/1.303, allocations: 345.2 kB / 1.279 GB, free: 14.43 MB / 1.014 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.0007764/1.304, allocations: 184.2 kB / 1.279 GB, free: 14.34 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001936/1.306, allocations: 0.6388 MB / 1.28 GB, free: 14.32 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/1.306, allocations: 1.906 kB / 1.28 GB, free: 14.32 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004972/1.306, allocations: 189.5 kB / 1.28 GB, free: 14.32 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002687/1.309, allocations: 359.4 kB / 1.28 GB, free: 14.27 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004025/1.313, allocations: 1.577 MB / 1.282 GB, free: 13.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/1.314, allocations: 0.9413 MB / 1.283 GB, free: 12.8 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001219/1.315, allocations: 207 kB / 1.283 GB, free: 12.78 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/1.316, allocations: 51.38 kB / 1.283 GB, free: 12.77 MB / 1.014 GB Notification: Performance of SimCode: time 6.41e-07/1.316, allocations: 0.9688 kB / 1.283 GB, free: 12.77 MB / 1.014 GB Notification: Performance of Templates: time 0.02734/1.343, allocations: 11.74 MB / 1.295 GB, free: 12.07 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_MassFraction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches