Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.491/1.491, allocations: 249.3 MB / 261.8 MB, free: 5.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001198/0.001199, allocations: 180.8 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.74/1.74, allocations: 205.2 MB / 0.572 GB, free: 10.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009393/0.0009395, allocations: 101.2 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.761e-05/3.765e-05, allocations: 8 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2339, allocations: 106.3 MB / 0.8918 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.017/5.251, allocations: 2.202 GB / 3.093 GB, free: 127.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/5.251, allocations: 85.08 kB / 3.093 GB, free: 127.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.512/6.763, allocations: 468.3 MB / 3.551 GB, free: 1.473 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.553e-06/6.763, allocations: 3.938 kB / 3.551 GB, free: 1.469 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001056/6.763, allocations: 19.94 kB / 3.551 GB, free: 1.449 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002802/6.766, allocations: 0.9893 MB / 3.552 GB, free: 424 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/6.766, allocations: 8.031 kB / 3.552 GB, free: 416 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001665/6.768, allocations: 194.9 kB / 3.552 GB, free: 220 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6657/7.433, allocations: 0.9082 MB / 3.553 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.839e-05/7.434, allocations: 44.03 kB / 3.553 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/7.434, allocations: 54.81 kB / 3.553 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/7.435, allocations: 0.5966 MB / 3.553 GB, free: 191 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/7.435, allocations: 0 / 3.553 GB, free: 191 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.068e-05/7.435, allocations: 22.84 kB / 3.554 GB, free: 191 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-05/7.435, allocations: 19.5 kB / 3.554 GB, free: 191 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/7.437, allocations: 465.3 kB / 3.554 GB, free: 191 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.004026/7.441, allocations: 2.403 MB / 3.556 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006098/7.441, allocations: 319.8 kB / 3.557 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004062/7.442, allocations: 198.3 kB / 3.557 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006057/7.442, allocations: 302.2 kB / 3.557 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/7.442, allocations: 43.81 kB / 3.557 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=36): time 2.014e-06/7.442, allocations: 0 / 3.557 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=36): time 0.001092/7.443, allocations: 406.8 kB / 3.558 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/7.443, allocations: 55.42 kB / 3.558 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006599/7.444, allocations: 434.1 kB / 3.558 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.308e-05/7.444, allocations: 37.36 kB / 3.558 GB, free: 189.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002841/7.444, allocations: 316.7 kB / 3.558 GB, free: 189 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/7.445, allocations: 133.3 kB / 3.558 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.999e-05/7.445, allocations: 5.156 kB / 3.558 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001539/7.445, allocations: 372.7 kB / 3.559 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/7.445, allocations: 135.3 kB / 3.559 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003471/7.445, allocations: 267 kB / 3.559 GB, free: 188.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003345/7.446, allocations: 187.2 kB / 3.559 GB, free: 188.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/7.446, allocations: 0 / 3.559 GB, free: 188.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008224/7.447, allocations: 468.3 kB / 3.56 GB, free: 188.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002834/7.447, allocations: 0.8811 MB / 3.561 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/7.447, allocations: 3.328 kB / 3.561 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.836e-05/7.447, allocations: 7.812 kB / 3.561 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006019/7.448, allocations: 99.16 kB / 3.561 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00032/7.448, allocations: 0.5864 MB / 3.561 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006983/7.449, allocations: 79.14 kB / 3.561 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.066e-05/7.449, allocations: 19.86 kB / 3.561 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/7.449, allocations: 5.031 kB / 3.561 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000701/7.449, allocations: 394.3 kB / 3.562 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/7.449, allocations: 2.031 kB / 3.562 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.364e-06/7.449, allocations: 4.25 kB / 3.562 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003483/7.45, allocations: 88.77 kB / 3.562 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/7.45, allocations: 4.922 kB / 3.562 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005085/7.45, allocations: 70.94 kB / 3.562 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4e-05/7.45, allocations: 18.89 kB / 3.562 GB, free: 186.9 MB / 0.8698 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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001326/7.45, allocations: 128.1 kB / 3.562 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/7.451, allocations: 58.86 kB / 3.562 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007845/7.451, allocations: 434.3 kB / 3.563 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/7.451, allocations: 3.906 kB / 3.563 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/7.451, allocations: 3.125 kB / 3.563 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005646/7.452, allocations: 0.6428 MB / 3.563 GB, free: 186.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002274/7.454, allocations: 1.198 MB / 3.564 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/7.454, allocations: 1.5 kB / 3.564 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005285/7.455, allocations: 97.48 kB / 3.565 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/7.455, allocations: 7.406 kB / 3.565 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.73e-05/7.455, allocations: 9.609 kB / 3.565 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002631/7.455, allocations: 0.5944 MB / 3.565 GB, free: 185.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/7.455, allocations: 4.562 kB / 3.565 GB, free: 185.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/7.456, allocations: 0.7924 MB / 3.566 GB, free: 185 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000268/7.457, allocations: 182.8 kB / 3.566 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.563e-05/7.457, allocations: 11.45 kB / 3.566 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004458/7.457, allocations: 40.75 kB / 3.566 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.747e-05/7.457, allocations: 28.66 kB / 3.566 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.549e-05/7.457, allocations: 14.89 kB / 3.566 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005181/7.458, allocations: 348 kB / 3.566 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.8e-07/7.458, allocations: 0 / 3.566 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001825/7.46, allocations: 485.8 kB / 3.567 GB, free: 184.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senMasFra1.X) * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002591/7.462, allocations: 1.379 MB / 3.568 GB, free: 184.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001306/7.464, allocations: 0.5761 MB / 3.569 GB, free: 184.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/7.464, allocations: 1.281 kB / 3.569 GB, free: 184.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000344/7.464, allocations: 182.7 kB / 3.569 GB, free: 184.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001801/7.466, allocations: 359.5 kB / 3.569 GB, free: 184.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/7.468, allocations: 1.065 MB / 3.57 GB, free: 184 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006264/7.468, allocations: 0.9614 MB / 3.571 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0009921/7.469, allocations: 263.2 kB / 3.572 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/7.469, allocations: 40.83 kB / 3.572 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of SimCode: time 2.4e-07/7.469, allocations: 0 / 3.572 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.05668/7.526, allocations: 32.18 MB / 3.603 GB, free: 182.9 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sensors_Examples_MassFraction.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches