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.354/2.354, allocations: 387.1 MB / 399.7 MB, free: 9.465 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.001356/0.001356, allocations: 188 kB / 492.3 MB, free: 0.5938 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.705/1.705, allocations: 221.3 MB / 0.7871 GB, free: 12.82 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.00101/0.00101, allocations: 92.81 kB / 0.9267 GB, free: 13.89 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.12e-05/4.124e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3032, allocations: 142.3 MB / 1.212 GB, free: 38.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.223/5.527, allocations: 1.929 GB / 3.141 GB, free: 401.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/5.527, allocations: 87.95 kB / 3.142 GB, free: 401 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.606/7.133, allocations: 489.4 MB / 3.619 GB, free: 299.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.443e-06/7.133, allocations: 0 / 3.619 GB, free: 299.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.447e-05/7.133, allocations: 27.95 kB / 3.619 GB, free: 299.5 MB / 1.151 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.001916/7.135, allocations: 0.99 MB / 3.62 GB, free: 299 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/7.135, allocations: 11.47 kB / 3.62 GB, free: 299 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/7.137, allocations: 204.1 kB / 3.621 GB, free: 298.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001903/7.139, allocations: 0.9061 MB / 3.621 GB, free: 298.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.588e-05/7.139, allocations: 41.84 kB / 3.622 GB, free: 298.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.324e-05/7.139, allocations: 56.47 kB / 3.622 GB, free: 298.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009459/7.14, allocations: 0.5866 MB / 3.622 GB, free: 298.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/7.14, allocations: 3.953 kB / 3.622 GB, free: 298.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.261e-05/7.14, allocations: 21.44 kB / 3.622 GB, free: 298.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.728e-05/7.14, allocations: 22.09 kB / 3.622 GB, free: 298.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006583/7.14, allocations: 470.2 kB / 3.623 GB, free: 298.6 MB / 1.151 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.002408/7.143, allocations: 2.401 MB / 3.625 GB, free: 297.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005071/7.143, allocations: 324 kB / 3.625 GB, free: 297.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002659/7.144, allocations: 200.7 kB / 3.625 GB, free: 297.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004508/7.144, allocations: 309.2 kB / 3.626 GB, free: 297 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/7.144, allocations: 48.38 kB / 3.626 GB, free: 297 MB / 1.151 GB Notification: Performance of pre-optimization done (n=36): time 2.445e-06/7.144, allocations: 0 / 3.626 GB, free: 297 MB / 1.151 GB Notification: Performance of matching and sorting (n=36): time 0.0008106/7.145, allocations: 408.7 kB / 3.626 GB, free: 296.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/7.145, allocations: 55.25 kB / 3.626 GB, free: 296.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004314/7.145, allocations: 438.1 kB / 3.627 GB, free: 296.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.556e-05/7.145, allocations: 36.61 kB / 3.627 GB, free: 296.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/7.146, allocations: 308.7 kB / 3.627 GB, free: 296.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.629e-05/7.146, allocations: 137.4 kB / 3.627 GB, free: 296.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.806e-05/7.146, allocations: 7.25 kB / 3.627 GB, free: 296.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001035/7.146, allocations: 364.6 kB / 3.627 GB, free: 296.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/7.146, allocations: 140 kB / 3.628 GB, free: 296.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/7.146, allocations: 276.9 kB / 3.628 GB, free: 296.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/7.147, allocations: 183 kB / 3.628 GB, free: 296.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/7.147, allocations: 3.406 kB / 3.628 GB, free: 296.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006033/7.147, allocations: 476.5 kB / 3.629 GB, free: 296 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001813/7.147, allocations: 0.8783 MB / 3.629 GB, free: 295.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/7.147, allocations: 0 / 3.629 GB, free: 295.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/7.147, allocations: 7.859 kB / 3.629 GB, free: 295.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005157/7.148, allocations: 101.4 kB / 3.629 GB, free: 295.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002942/7.148, allocations: 0.599 MB / 3.63 GB, free: 294.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000584/7.149, allocations: 77.11 kB / 3.63 GB, free: 294.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.374e-05/7.149, allocations: 14.12 kB / 3.63 GB, free: 294.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.674e-06/7.149, allocations: 3.969 kB / 3.63 GB, free: 294.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005231/7.149, allocations: 396.5 kB / 3.631 GB, free: 294.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/7.149, allocations: 3.938 kB / 3.631 GB, free: 294.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.64e-06/7.149, allocations: 3.875 kB / 3.631 GB, free: 294.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003128/7.15, allocations: 90.56 kB / 3.631 GB, free: 294.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/7.15, allocations: 6.719 kB / 3.631 GB, free: 294.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004698/7.15, allocations: 79.27 kB / 3.631 GB, free: 294.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/7.15, allocations: 22.72 kB / 3.631 GB, free: 294.5 MB / 1.151 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 9.908e-05/7.15, allocations: 131 kB / 3.631 GB, free: 294.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.094e-05/7.151, allocations: 54.72 kB / 3.631 GB, free: 294.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006634/7.151, allocations: 445.1 kB / 3.631 GB, free: 294.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/7.151, allocations: 3.812 kB / 3.631 GB, free: 294.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/7.151, allocations: 96 / 3.631 GB, free: 294.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005398/7.152, allocations: 0.6573 MB / 3.632 GB, free: 293.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/7.153, allocations: 1.196 MB / 3.633 GB, free: 293.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/7.153, allocations: 7 kB / 3.633 GB, free: 293.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004276/7.154, allocations: 95.67 kB / 3.633 GB, free: 293.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/7.154, allocations: 3.969 kB / 3.633 GB, free: 293.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/7.154, allocations: 9.375 kB / 3.633 GB, free: 293.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001891/7.154, allocations: 0.59 MB / 3.634 GB, free: 292.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/7.154, allocations: 7 kB / 3.634 GB, free: 292.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007441/7.155, allocations: 0.7781 MB / 3.635 GB, free: 292.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002209/7.155, allocations: 175.4 kB / 3.635 GB, free: 292.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.898e-05/7.155, allocations: 12.69 kB / 3.635 GB, free: 292.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004143/7.155, allocations: 46.52 kB / 3.635 GB, free: 292.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/7.155, allocations: 27.48 kB / 3.635 GB, free: 292.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.411e-05/7.156, allocations: 13.59 kB / 3.635 GB, free: 292.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003446/7.156, allocations: 349.1 kB / 3.635 GB, free: 292.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/7.156, allocations: 0 / 3.635 GB, free: 292.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001347/7.157, allocations: 482.6 kB / 3.636 GB, free: 292.3 MB / 1.151 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 () * 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.001784/7.159, allocations: 1.387 MB / 3.637 GB, free: 291.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009948/7.16, allocations: 0.5793 MB / 3.638 GB, free: 291.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/7.16, allocations: 0 / 3.638 GB, free: 291.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002519/7.16, allocations: 182.1 kB / 3.638 GB, free: 291.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/7.162, allocations: 360.8 kB / 3.638 GB, free: 291.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/7.163, allocations: 1.081 MB / 3.639 GB, free: 291.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/7.164, allocations: 0.9573 MB / 3.64 GB, free: 290.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008118/7.165, allocations: 260.7 kB / 3.64 GB, free: 290.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.993e-05/7.165, allocations: 41.41 kB / 3.64 GB, free: 290.8 MB / 1.151 GB Notification: Performance of SimCode: time 5.91e-07/7.165, allocations: 0 / 3.64 GB, free: 290.8 MB / 1.151 GB Notification: Performance of Templates: time 0.03947/7.204, allocations: 32.15 MB / 3.672 GB, free: 285.5 MB / 1.151 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