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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.271/2.271, allocations: 390.3 MB / 405.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001909/0.001909, allocations: 169.2 kB / 498.1 MB, free: 5.742 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.581/1.581, allocations: 223.2 MB / 0.7948 GB, free: 18.83 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 94.72 kB / 0.9346 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003715, allocations: 11.83 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2932, allocations: 142.3 MB / 1.223 GB, free: 89.56 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.524/4.817, allocations: 1.929 GB / 3.152 GB, free: 20.29 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/4.817, allocations: 89.77 kB / 3.152 GB, free: 20.24 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.69/6.507, allocations: 489.8 MB / 3.63 GB, free: 3.473 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.316e-06/6.507, allocations: 0 / 3.63 GB, free: 3.473 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001261/6.507, allocations: 23.98 kB / 3.63 GB, free: 3.449 MB / 1.167 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.004202/6.512, allocations: 1.106 MB / 3.631 GB, free: 2.293 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/6.512, allocations: 8.031 kB / 3.631 GB, free: 2.285 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002396/6.514, allocations: 199.2 kB / 3.632 GB, free: 2.09 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003489/6.518, allocations: 0.9075 MB / 3.633 GB, free: 1.137 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.452e-05/6.518, allocations: 45.31 kB / 3.633 GB, free: 1.094 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/6.518, allocations: 52 kB / 3.633 GB, free: 1.043 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/6.519, allocations: 0.6011 MB / 3.633 GB, free: 436 kB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/6.519, allocations: 3.938 kB / 3.633 GB, free: 432 kB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.692e-05/6.519, allocations: 27.94 kB / 3.633 GB, free: 404 kB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.224e-05/6.519, allocations: 17.31 kB / 3.633 GB, free: 388 kB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6673/7.186, allocations: 470.2 kB / 3.634 GB, free: 307 MB / 1.167 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.003749/7.19, allocations: 2.409 MB / 3.636 GB, free: 305.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000579/7.191, allocations: 327.7 kB / 3.636 GB, free: 305.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004952/7.191, allocations: 309.2 kB / 3.637 GB, free: 305.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/7.191, allocations: 36.56 kB / 3.637 GB, free: 305.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=36): time 2.275e-06/7.191, allocations: 0 / 3.637 GB, free: 305.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=36): time 0.001272/7.192, allocations: 0.5372 MB / 3.637 GB, free: 305.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/7.192, allocations: 64.12 kB / 3.637 GB, free: 305.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005567/7.193, allocations: 438 kB / 3.638 GB, free: 305.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.225e-05/7.193, allocations: 38.89 kB / 3.638 GB, free: 305.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002088/7.193, allocations: 313.5 kB / 3.638 GB, free: 305.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/7.193, allocations: 133.7 kB / 3.638 GB, free: 305 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.894e-05/7.193, allocations: 5.125 kB / 3.638 GB, free: 305 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001153/7.194, allocations: 368.5 kB / 3.639 GB, free: 304.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/7.194, allocations: 142.4 kB / 3.639 GB, free: 304.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003191/7.194, allocations: 274.1 kB / 3.639 GB, free: 304.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002961/7.194, allocations: 190.2 kB / 3.639 GB, free: 304.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/7.194, allocations: 1 kB / 3.639 GB, free: 304.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007118/7.195, allocations: 480.3 kB / 3.64 GB, free: 304.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001623/7.195, allocations: 0.8793 MB / 3.64 GB, free: 303.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/7.195, allocations: 3.406 kB / 3.64 GB, free: 303.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/7.195, allocations: 8.891 kB / 3.64 GB, free: 303.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005215/7.196, allocations: 90.28 kB / 3.641 GB, free: 303.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002876/7.196, allocations: 0.6024 MB / 3.641 GB, free: 303 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006987/7.197, allocations: 71.56 kB / 3.641 GB, free: 303 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.177e-05/7.197, allocations: 22 kB / 3.641 GB, free: 303 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/7.197, allocations: 4.094 kB / 3.641 GB, free: 303 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006545/7.198, allocations: 403.6 kB / 3.642 GB, free: 303 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/7.198, allocations: 5.344 kB / 3.642 GB, free: 303 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.606e-06/7.198, allocations: 5.375 kB / 3.642 GB, free: 303 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003651/7.198, allocations: 88.19 kB / 3.642 GB, free: 303 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/7.198, allocations: 8.344 kB / 3.642 GB, free: 303 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005559/7.199, allocations: 78.58 kB / 3.642 GB, free: 302.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.332e-05/7.199, allocations: 18.92 kB / 3.642 GB, free: 302.9 MB / 1.167 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 (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.0003766/7.199, allocations: 307.4 kB / 3.642 GB, free: 302.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.959e-05/7.199, allocations: 56.33 kB / 3.642 GB, free: 302.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007852/7.2, allocations: 453.2 kB / 3.643 GB, free: 302.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/7.2, allocations: 5.484 kB / 3.643 GB, free: 302.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/7.2, allocations: 0 / 3.643 GB, free: 302.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006608/7.201, allocations: 0.6549 MB / 3.643 GB, free: 302.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/7.203, allocations: 1.203 MB / 3.644 GB, free: 301.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/7.203, allocations: 2.062 kB / 3.644 GB, free: 301.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005062/7.203, allocations: 89.95 kB / 3.645 GB, free: 301.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/7.203, allocations: 6.562 kB / 3.645 GB, free: 301.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.141e-05/7.203, allocations: 9.484 kB / 3.645 GB, free: 301.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002352/7.203, allocations: 0.5941 MB / 3.645 GB, free: 301.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/7.204, allocations: 3.156 kB / 3.645 GB, free: 301.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/7.205, allocations: 0.7858 MB / 3.646 GB, free: 300.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003298/7.205, allocations: 179 kB / 3.646 GB, free: 300.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.98e-05/7.205, allocations: 11.91 kB / 3.646 GB, free: 300.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004742/7.205, allocations: 43.94 kB / 3.646 GB, free: 300.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.246e-05/7.206, allocations: 26.59 kB / 3.646 GB, free: 300.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.433e-05/7.206, allocations: 16.03 kB / 3.646 GB, free: 300.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.000538/7.206, allocations: 355.5 kB / 3.646 GB, free: 300.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/7.206, allocations: 0 / 3.646 GB, free: 300.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001848/7.208, allocations: 477.9 kB / 3.647 GB, free: 300.7 MB / 1.167 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 (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.003011/7.211, allocations: 1.392 MB / 3.648 GB, free: 300.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001585/7.213, allocations: 0.5664 MB / 3.649 GB, free: 300.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/7.213, allocations: 1.625 kB / 3.649 GB, free: 300.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003737/7.213, allocations: 186.7 kB / 3.649 GB, free: 300.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002028/7.215, allocations: 358.5 kB / 3.649 GB, free: 300.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003131/7.218, allocations: 1.67 MB / 3.651 GB, free: 299.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005721/7.219, allocations: 0.969 MB / 3.652 GB, free: 298.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008445/7.22, allocations: 202.7 kB / 3.652 GB, free: 298.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/7.22, allocations: 48.91 kB / 3.652 GB, free: 298.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.423e-06/7.22, allocations: 0 / 3.652 GB, free: 298.9 MB / 1.167 GB Notification: Performance of Templates: time 0.04354/7.263, allocations: 27.5 MB / 3.679 GB, free: 298.6 MB / 1.167 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","../files/Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches