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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001574/0.001574, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.309/2.309, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 67.89 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8918/0.8932, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.2475/1.141, allocations: 186.8 MB / 1.271 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009327/1.15, allocations: 4.573 MB / 1.276 GB, free: 14.26 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001975/1.152, allocations: 31.81 kB / 1.276 GB, free: 14.23 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001834/1.154, allocations: 405.5 kB / 1.276 GB, free: 13.83 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004859/1.159, allocations: 1.349 MB / 1.277 GB, free: 12.48 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002602/1.162, allocations: 0.7633 MB / 1.278 GB, free: 11.72 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003516/1.165, allocations: 1.964 MB / 1.28 GB, free: 9.75 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/1.167, allocations: 0.6573 MB / 1.281 GB, free: 9.082 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003808/1.17, allocations: 1.082 MB / 1.282 GB, free: 8.008 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001408/1.172, allocations: 0.5894 MB / 1.282 GB, free: 7.418 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002445/1.172, allocations: 64 kB / 1.282 GB, free: 7.355 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003313/1.175, allocations: 1.38 MB / 1.284 GB, free: 5.973 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005058/1.176, allocations: 287.2 kB / 1.284 GB, free: 5.691 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000922/1.177, allocations: 418.1 kB / 1.284 GB, free: 5.281 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003768/1.181, allocations: 1.476 MB / 1.286 GB, free: 3.801 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.555e-06/1.181, allocations: 0 / 1.286 GB, free: 3.801 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.584e-06/1.181, allocations: 4 kB / 1.286 GB, free: 3.797 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.641e-05/1.181, allocations: 0 / 1.286 GB, free: 3.797 MB / 1.014 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.00252/1.183, allocations: 1.09 MB / 1.287 GB, free: 2.656 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/1.183, allocations: 12.03 kB / 1.287 GB, free: 2.645 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00143/1.185, allocations: 202.9 kB / 1.287 GB, free: 2.445 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/1.186, allocations: 0.6221 MB / 1.288 GB, free: 1.777 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.414e-05/1.186, allocations: 37.31 kB / 1.288 GB, free: 1.742 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/1.186, allocations: 56 kB / 1.288 GB, free: 1.688 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/1.187, allocations: 0.6206 MB / 1.288 GB, free: 1.051 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/1.187, allocations: 3.938 kB / 1.288 GB, free: 1.047 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.552e-05/1.187, allocations: 24 kB / 1.288 GB, free: 1.023 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.923e-05/1.187, allocations: 17.31 kB / 1.288 GB, free: 1.008 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008999/1.188, allocations: 0.5009 MB / 1.289 GB, free: 0.5078 MB / 1.014 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.003526/1.192, allocations: 2.392 MB / 1.291 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006479/1.193, allocations: 360.9 kB / 1.291 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003235/1.193, allocations: 214.4 kB / 1.292 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006035/1.194, allocations: 303.8 kB / 1.292 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/1.194, allocations: 38.56 kB / 1.292 GB, free: 12.94 MB / 1.029 GB Notification: Performance of pre-optimization done (n=36): time 3.337e-06/1.194, allocations: 0 / 1.292 GB, free: 12.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=36): time 0.001313/1.195, allocations: 0.544 MB / 1.293 GB, free: 12.39 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/1.195, allocations: 55.41 kB / 1.293 GB, free: 12.32 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007819/1.196, allocations: 0.5067 MB / 1.293 GB, free: 11.8 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.999e-05/1.196, allocations: 33.7 kB / 1.293 GB, free: 11.77 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002865/1.196, allocations: 315.8 kB / 1.293 GB, free: 11.45 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/1.196, allocations: 126.1 kB / 1.294 GB, free: 11.33 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/1.196, allocations: 90.03 kB / 1.294 GB, free: 11.23 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000177/1.197, allocations: 362.8 kB / 1.294 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002668/1.197, allocations: 150.5 kB / 1.294 GB, free: 10.72 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000373/1.197, allocations: 267.7 kB / 1.294 GB, free: 10.42 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005969/1.198, allocations: 410.1 kB / 1.295 GB, free: 9.988 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/1.198, allocations: 7.938 kB / 1.295 GB, free: 9.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008583/1.199, allocations: 481.2 kB / 1.295 GB, free: 9.504 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/1.199, allocations: 7.984 kB / 1.295 GB, free: 9.496 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/1.199, allocations: 4 kB / 1.295 GB, free: 9.492 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/1.199, allocations: 4 kB / 1.295 GB, free: 9.488 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006196/1.199, allocations: 100.1 kB / 1.295 GB, free: 9.391 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004873/1.2, allocations: 0.6016 MB / 1.296 GB, free: 8.766 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005762/1.201, allocations: 39.53 kB / 1.296 GB, free: 8.727 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-05/1.201, allocations: 19.98 kB / 1.296 GB, free: 8.707 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004723/1.201, allocations: 328.9 kB / 1.296 GB, free: 8.383 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003044/1.201, allocations: 263.5 kB / 1.297 GB, free: 8.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005197/1.202, allocations: 400.6 kB / 1.297 GB, free: 7.668 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.487e-06/1.202, allocations: 3.984 kB / 1.297 GB, free: 7.664 MB / 1.029 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007407/1.203, allocations: 488.4 kB / 1.297 GB, free: 7.18 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/1.203, allocations: 8 kB / 1.297 GB, free: 7.172 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/1.203, allocations: 3.938 kB / 1.297 GB, free: 7.168 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.464e-06/1.203, allocations: 4 kB / 1.297 GB, free: 7.164 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003672/1.203, allocations: 91.97 kB / 1.298 GB, free: 7.074 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/1.203, allocations: 11.98 kB / 1.298 GB, free: 7.062 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005217/1.204, allocations: 32.03 kB / 1.298 GB, free: 7.031 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.093e-05/1.204, allocations: 23.98 kB / 1.298 GB, free: 7.008 MB / 1.029 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.0001917/1.204, allocations: 208.1 kB / 1.298 GB, free: 6.797 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/1.204, allocations: 59.28 kB / 1.298 GB, free: 6.738 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007605/1.205, allocations: 437.4 kB / 1.298 GB, free: 6.297 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/1.205, allocations: 0 / 1.298 GB, free: 6.297 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/1.205, allocations: 7.984 kB / 1.298 GB, free: 6.289 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006392/1.205, allocations: 0.6597 MB / 1.299 GB, free: 5.543 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00187/1.207, allocations: 1.206 MB / 1.3 GB, free: 4.258 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/1.207, allocations: 4 kB / 1.3 GB, free: 4.254 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000471/1.208, allocations: 96.09 kB / 1.3 GB, free: 4.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/1.208, allocations: 0 / 1.3 GB, free: 4.16 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.41e-05/1.208, allocations: 12 kB / 1.3 GB, free: 4.148 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003481/1.208, allocations: 0.5938 MB / 1.301 GB, free: 3.531 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.208, allocations: 3.938 kB / 1.301 GB, free: 3.527 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009715/1.209, allocations: 0.7041 MB / 1.301 GB, free: 2.785 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002699/1.21, allocations: 176.4 kB / 1.302 GB, free: 2.594 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.85e-05/1.21, allocations: 19.94 kB / 1.302 GB, free: 2.574 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004094/1.21, allocations: 11.98 kB / 1.302 GB, free: 2.562 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.83e-05/1.21, allocations: 23.97 kB / 1.302 GB, free: 2.539 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.666e-05/1.21, allocations: 12 kB / 1.302 GB, free: 2.527 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004832/1.211, allocations: 358.8 kB / 1.302 GB, free: 2.18 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.61e-07/1.211, allocations: 0 / 1.302 GB, free: 2.18 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001098/1.212, allocations: 347.2 kB / 1.302 GB, free: 1.84 MB / 1.029 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.0005495/1.212, allocations: 199.5 kB / 1.303 GB, free: 1.645 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00127/1.214, allocations: 0.6056 MB / 1.303 GB, free: 1.039 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/1.214, allocations: 0 / 1.303 GB, free: 1.039 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003113/1.214, allocations: 188.9 kB / 1.303 GB, free: 0.8555 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001689/1.216, allocations: 368.1 kB / 1.304 GB, free: 0.5 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/1.218, allocations: 1.362 MB / 1.305 GB, free: 15.08 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006473/1.219, allocations: 0.9413 MB / 1.306 GB, free: 14.11 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/1.219, allocations: 55.42 kB / 1.306 GB, free: 14.06 MB / 1.045 GB Notification: Performance of SimCode: time 9.61e-07/1.219, allocations: 0 / 1.306 GB, free: 14.06 MB / 1.045 GB Notification: Performance of Templates: time 0.02044/1.239, allocations: 12.68 MB / 1.318 GB, free: 1.461 MB / 1.045 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches