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.001623/0.001623, allocations: 109.8 kB / 16.41 MB, free: 6.496 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.001667/0.001667, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.623/1.623, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.498/2.498, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 63.91 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8618/0.8632, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.2202/1.083, allocations: 186.8 MB / 1.35 GB, free: 8.363 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008743/1.092, allocations: 4.584 MB / 1.354 GB, free: 3.77 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001266/1.094, allocations: 31.81 kB / 1.354 GB, free: 3.738 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001474/1.095, allocations: 413.5 kB / 1.355 GB, free: 3.332 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004172/1.099, allocations: 1.397 MB / 1.356 GB, free: 1.93 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002497/1.102, allocations: 0.7584 MB / 1.357 GB, free: 1.176 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003208/1.105, allocations: 1.976 MB / 1.359 GB, free: 15.2 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001268/1.106, allocations: 0.6495 MB / 1.359 GB, free: 14.53 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00354/1.11, allocations: 1.118 MB / 1.36 GB, free: 13.42 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001381/1.111, allocations: 0.5772 MB / 1.361 GB, free: 12.84 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002403/1.112, allocations: 64 kB / 1.361 GB, free: 12.78 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003277/1.115, allocations: 1.399 MB / 1.362 GB, free: 11.38 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004853/1.115, allocations: 283.3 kB / 1.363 GB, free: 11.1 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0009369/1.116, allocations: 418.1 kB / 1.363 GB, free: 10.69 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003283/1.12, allocations: 1.469 MB / 1.364 GB, free: 9.219 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/1.12, allocations: 4 kB / 1.364 GB, free: 9.215 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.184e-06/1.12, allocations: 0 / 1.364 GB, free: 9.215 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.147e-05/1.12, allocations: 4 kB / 1.364 GB, free: 9.211 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.002324/1.122, allocations: 1.094 MB / 1.366 GB, free: 8.066 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/1.122, allocations: 8.922 kB / 1.366 GB, free: 8.059 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001472/1.123, allocations: 206.9 kB / 1.366 GB, free: 7.855 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/1.125, allocations: 0.6105 MB / 1.366 GB, free: 7.199 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.438e-05/1.125, allocations: 41.31 kB / 1.366 GB, free: 7.16 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/1.125, allocations: 59.98 kB / 1.366 GB, free: 7.102 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/1.126, allocations: 0.6167 MB / 1.367 GB, free: 6.469 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/1.126, allocations: 3.938 kB / 1.367 GB, free: 6.465 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.37e-05/1.126, allocations: 20 kB / 1.367 GB, free: 6.445 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.518e-05/1.126, allocations: 25.3 kB / 1.367 GB, free: 6.422 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008488/1.127, allocations: 0.4891 MB / 1.368 GB, free: 5.934 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.003283/1.13, allocations: 2.396 MB / 1.37 GB, free: 3.328 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006239/1.131, allocations: 364.4 kB / 1.37 GB, free: 2.965 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002998/1.131, allocations: 214.3 kB / 1.37 GB, free: 2.754 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005851/1.132, allocations: 315.2 kB / 1.371 GB, free: 2.391 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/1.132, allocations: 38.56 kB / 1.371 GB, free: 2.344 MB / 1.092 GB Notification: Performance of pre-optimization done (n=36): time 2.104e-06/1.132, allocations: 0 / 1.371 GB, free: 2.344 MB / 1.092 GB Notification: Performance of matching and sorting (n=36): time 0.001179/1.133, allocations: 0.5537 MB / 1.371 GB, free: 1.785 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/1.133, allocations: 55.41 kB / 1.371 GB, free: 1.719 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005865/1.134, allocations: 0.4989 MB / 1.372 GB, free: 1.207 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.464e-05/1.134, allocations: 33.7 kB / 1.372 GB, free: 1.168 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/1.134, allocations: 319.8 kB / 1.372 GB, free: 0.8516 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/1.134, allocations: 126.2 kB / 1.372 GB, free: 0.7266 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/1.134, allocations: 86.03 kB / 1.372 GB, free: 0.6367 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001573/1.134, allocations: 370.7 kB / 1.373 GB, free: 272 kB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/1.135, allocations: 150.5 kB / 1.373 GB, free: 116 kB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003517/1.135, allocations: 267.7 kB / 1.373 GB, free: 15.82 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005458/1.136, allocations: 406.3 kB / 1.374 GB, free: 15.39 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.136, allocations: 0 / 1.374 GB, free: 15.39 MB / 1.107 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000747/1.136, allocations: 485.2 kB / 1.374 GB, free: 14.91 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/1.136, allocations: 8 kB / 1.374 GB, free: 14.9 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/1.136, allocations: 4 kB / 1.374 GB, free: 14.9 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/1.136, allocations: 4 kB / 1.374 GB, free: 14.89 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005739/1.137, allocations: 103.8 kB / 1.374 GB, free: 14.79 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004151/1.137, allocations: 0.5941 MB / 1.375 GB, free: 14.18 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005247/1.138, allocations: 51.61 kB / 1.375 GB, free: 14.12 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.443e-05/1.138, allocations: 16 kB / 1.375 GB, free: 14.11 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004602/1.139, allocations: 328.9 kB / 1.375 GB, free: 13.79 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000317/1.139, allocations: 260.7 kB / 1.375 GB, free: 13.49 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005334/1.139, allocations: 400.6 kB / 1.376 GB, free: 13.07 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.875e-06/1.139, allocations: 4 kB / 1.376 GB, free: 13.07 MB / 1.107 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007464/1.14, allocations: 480.6 kB / 1.376 GB, free: 12.59 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/1.14, allocations: 4 kB / 1.376 GB, free: 12.59 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/1.14, allocations: 7.938 kB / 1.376 GB, free: 12.58 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.334e-06/1.14, allocations: 4 kB / 1.376 GB, free: 12.57 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/1.141, allocations: 91.83 kB / 1.376 GB, free: 12.48 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/1.141, allocations: 4 kB / 1.376 GB, free: 12.48 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005376/1.141, allocations: 35.73 kB / 1.376 GB, free: 12.45 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.407e-05/1.141, allocations: 20.19 kB / 1.376 GB, free: 12.43 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.0002385/1.141, allocations: 212.1 kB / 1.377 GB, free: 12.21 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/1.142, allocations: 59.28 kB / 1.377 GB, free: 12.15 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000855/1.142, allocations: 451.3 kB / 1.377 GB, free: 11.7 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/1.142, allocations: 4 kB / 1.377 GB, free: 11.7 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/1.143, allocations: 0 / 1.377 GB, free: 11.7 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007355/1.143, allocations: 0.6557 MB / 1.378 GB, free: 10.96 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00203/1.145, allocations: 1.199 MB / 1.379 GB, free: 9.68 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/1.145, allocations: 4 kB / 1.379 GB, free: 9.676 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004842/1.146, allocations: 88.11 kB / 1.379 GB, free: 9.59 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/1.146, allocations: 8 kB / 1.379 GB, free: 9.582 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/1.146, allocations: 8 kB / 1.379 GB, free: 9.574 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003708/1.146, allocations: 0.5976 MB / 1.38 GB, free: 8.953 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/1.146, allocations: 4.031 kB / 1.38 GB, free: 8.949 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009461/1.147, allocations: 0.7166 MB / 1.38 GB, free: 8.195 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003102/1.148, allocations: 172.4 kB / 1.38 GB, free: 8.008 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.491e-05/1.148, allocations: 15.94 kB / 1.38 GB, free: 7.992 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004137/1.148, allocations: 24.61 kB / 1.38 GB, free: 7.969 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.098e-05/1.148, allocations: 19.97 kB / 1.38 GB, free: 7.949 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/1.148, allocations: 16 kB / 1.38 GB, free: 7.934 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.000446/1.149, allocations: 358.8 kB / 1.381 GB, free: 7.586 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.4e-07/1.149, allocations: 0 / 1.381 GB, free: 7.586 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001084/1.15, allocations: 343.1 kB / 1.381 GB, free: 7.25 MB / 1.107 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.0005724/1.15, allocations: 197.7 kB / 1.381 GB, free: 7.059 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001278/1.152, allocations: 0.597 MB / 1.382 GB, free: 6.461 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.152, allocations: 0 / 1.382 GB, free: 6.461 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.000327/1.152, allocations: 189.3 kB / 1.382 GB, free: 6.277 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/1.154, allocations: 360.9 kB / 1.382 GB, free: 5.93 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/1.156, allocations: 1.385 MB / 1.384 GB, free: 4.484 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005593/1.157, allocations: 0.9414 MB / 1.385 GB, free: 3.516 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/1.157, allocations: 51.38 kB / 1.385 GB, free: 3.465 MB / 1.107 GB Notification: Performance of SimCode: time 1.162e-06/1.157, allocations: 0 / 1.385 GB, free: 3.465 MB / 1.107 GB Notification: Performance of Templates: time 0.01844/1.175, allocations: 12.69 MB / 1.397 GB, free: 6.855 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