Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001127/0.001127, allocations: 113.3 kB / 16.42 MB, free: 6.504 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.001157/0.001158, allocations: 185.5 kB / 17.34 MB, free: 5.758 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.344/1.344, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.398/2.398, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 68.12 kB / 1.019 GB, free: 9.461 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8503/0.8517, allocations: 151.6 MB / 1.167 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.2039/1.056, allocations: 186.8 MB / 1.35 GB, free: 8.395 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.007912/1.064, allocations: 4.576 MB / 1.354 GB, free: 3.805 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001124/1.065, allocations: 31.81 kB / 1.354 GB, free: 3.773 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001472/1.066, allocations: 417.5 kB / 1.355 GB, free: 3.363 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004352/1.071, allocations: 1.396 MB / 1.356 GB, free: 1.961 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002331/1.073, allocations: 0.7696 MB / 1.357 GB, free: 1.195 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002844/1.076, allocations: 1.966 MB / 1.359 GB, free: 15.23 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001122/1.077, allocations: 0.6476 MB / 1.359 GB, free: 14.56 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003171/1.08, allocations: 1.123 MB / 1.36 GB, free: 13.45 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/1.081, allocations: 0.5782 MB / 1.361 GB, free: 12.88 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002145/1.082, allocations: 64 kB / 1.361 GB, free: 12.81 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002853/1.085, allocations: 1.399 MB / 1.362 GB, free: 11.41 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004382/1.085, allocations: 287.3 kB / 1.363 GB, free: 11.13 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0007858/1.086, allocations: 414.1 kB / 1.363 GB, free: 10.72 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002866/1.089, allocations: 1.477 MB / 1.365 GB, free: 9.242 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/1.089, allocations: 0 / 1.365 GB, free: 9.242 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.593e-06/1.089, allocations: 0 / 1.365 GB, free: 9.242 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.317e-05/1.089, allocations: 0 / 1.365 GB, free: 9.242 MB / 1.092 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.002196/1.091, allocations: 1.124 MB / 1.366 GB, free: 8.066 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/1.091, allocations: 8.922 kB / 1.366 GB, free: 8.059 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001405/1.092, allocations: 211.3 kB / 1.366 GB, free: 7.852 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/1.094, allocations: 0.6149 MB / 1.366 GB, free: 7.191 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.016e-05/1.094, allocations: 45.3 kB / 1.366 GB, free: 7.148 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/1.094, allocations: 56 kB / 1.367 GB, free: 7.094 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/1.095, allocations: 0.6167 MB / 1.367 GB, free: 6.461 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/1.095, allocations: 7.875 kB / 1.367 GB, free: 6.453 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.351e-05/1.095, allocations: 20 kB / 1.367 GB, free: 6.434 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.148e-05/1.095, allocations: 21.31 kB / 1.367 GB, free: 6.414 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008157/1.096, allocations: 0.493 MB / 1.368 GB, free: 5.922 MB / 1.092 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.003059/1.099, allocations: 2.401 MB / 1.37 GB, free: 3.312 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006203/1.099, allocations: 354.8 kB / 1.37 GB, free: 2.957 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003078/1.1, allocations: 209.4 kB / 1.371 GB, free: 2.75 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005738/1.1, allocations: 315.2 kB / 1.371 GB, free: 2.387 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/1.1, allocations: 34.56 kB / 1.371 GB, free: 2.344 MB / 1.092 GB Notification: Performance of pre-optimization done (n=36): time 2.154e-06/1.1, allocations: 0 / 1.371 GB, free: 2.344 MB / 1.092 GB Notification: Performance of matching and sorting (n=36): time 0.001158/1.102, allocations: 0.5618 MB / 1.371 GB, free: 1.777 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/1.102, allocations: 55.41 kB / 1.371 GB, free: 1.711 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005974/1.102, allocations: 0.495 MB / 1.372 GB, free: 1.203 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.545e-05/1.102, allocations: 33.7 kB / 1.372 GB, free: 1.164 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/1.102, allocations: 324.4 kB / 1.372 GB, free: 0.8438 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/1.103, allocations: 138.8 kB / 1.372 GB, free: 0.707 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/1.103, allocations: 86.12 kB / 1.373 GB, free: 0.6172 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001454/1.103, allocations: 366.7 kB / 1.373 GB, free: 256 kB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/1.103, allocations: 158.5 kB / 1.373 GB, free: 92 kB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000344/1.103, allocations: 263.8 kB / 1.373 GB, free: 15.79 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005551/1.104, allocations: 402.3 kB / 1.374 GB, free: 15.37 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/1.104, allocations: 4 kB / 1.374 GB, free: 15.37 MB / 1.107 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007628/1.105, allocations: 485.5 kB / 1.374 GB, free: 14.89 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/1.105, allocations: 12.28 kB / 1.374 GB, free: 14.88 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/1.105, allocations: 0 / 1.374 GB, free: 14.88 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/1.105, allocations: 4 kB / 1.374 GB, free: 14.87 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005676/1.105, allocations: 107.9 kB / 1.374 GB, free: 14.77 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003805/1.106, allocations: 0.5899 MB / 1.375 GB, free: 14.15 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000519/1.106, allocations: 51.75 kB / 1.375 GB, free: 14.1 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.462e-05/1.106, allocations: 20 kB / 1.375 GB, free: 14.08 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000433/1.107, allocations: 324.9 kB / 1.375 GB, free: 13.76 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003143/1.107, allocations: 259.4 kB / 1.375 GB, free: 13.47 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005401/1.108, allocations: 404.6 kB / 1.376 GB, free: 13.04 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.205e-06/1.108, allocations: 0 / 1.376 GB, free: 13.04 MB / 1.107 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007351/1.109, allocations: 484.9 kB / 1.376 GB, free: 12.56 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/1.109, allocations: 4 kB / 1.376 GB, free: 12.56 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/1.109, allocations: 4 kB / 1.376 GB, free: 12.55 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.113e-06/1.109, allocations: 8.219 kB / 1.376 GB, free: 12.55 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003669/1.109, allocations: 99.77 kB / 1.376 GB, free: 12.45 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/1.109, allocations: 4 kB / 1.376 GB, free: 12.45 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004669/1.109, allocations: 31.83 kB / 1.376 GB, free: 12.41 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/1.109, allocations: 19.94 kB / 1.376 GB, free: 12.39 MB / 1.107 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.00016/1.11, allocations: 205.4 kB / 1.377 GB, free: 12.19 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/1.11, allocations: 63.56 kB / 1.377 GB, free: 12.12 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000752/1.111, allocations: 455.4 kB / 1.377 GB, free: 11.67 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006311/1.111, allocations: 0.6557 MB / 1.378 GB, free: 10.93 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/1.111, allocations: 4 kB / 1.378 GB, free: 10.93 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002329/1.111, allocations: 172.6 kB / 1.378 GB, free: 10.74 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.744e-05/1.111, allocations: 12 kB / 1.378 GB, free: 10.73 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000338/1.112, allocations: 13.11 kB / 1.378 GB, free: 10.71 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/1.112, allocations: 11.98 kB / 1.378 GB, free: 10.7 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001008/1.113, allocations: 0.5175 MB / 1.378 GB, free: 10.18 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009142/1.114, allocations: 0.7599 MB / 1.379 GB, free: 9.402 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002435/1.114, allocations: 176.3 kB / 1.379 GB, free: 9.23 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.000398/1.114, allocations: 358.8 kB / 1.38 GB, free: 8.883 MB / 1.107 GB Notification: Performance of Backend: time 3.21e-07/1.115, allocations: 0 / 1.38 GB, free: 8.883 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002256/1.117, allocations: 0.8293 MB / 1.381 GB, free: 8.055 MB / 1.107 GB Notification: Performance of SimCode: time 0.00328/1.12, allocations: 1.92 MB / 1.382 GB, free: 6.082 MB / 1.107 GB Notification: Performance of Templates: time 0.02674/1.147, allocations: 15.62 MB / 1.398 GB, free: 6.613 MB / 1.123 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_MassFraction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches