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.00153/0.00153, 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.002141/0.002141, allocations: 188.9 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.427/1.427, 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.256/2.256, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 63.91 kB / 0.9515 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8971/0.8984, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.2428/1.141, allocations: 186.8 MB / 1.271 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008369/1.15, allocations: 4.573 MB / 1.276 GB, free: 14.3 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001197/1.151, allocations: 31.81 kB / 1.276 GB, free: 14.27 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001449/1.152, allocations: 413.4 kB / 1.276 GB, free: 13.86 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004034/1.156, allocations: 1.334 MB / 1.277 GB, free: 12.52 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002272/1.159, allocations: 0.7703 MB / 1.278 GB, free: 11.75 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002761/1.162, allocations: 1.953 MB / 1.28 GB, free: 9.797 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/1.163, allocations: 0.6612 MB / 1.281 GB, free: 9.125 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003246/1.166, allocations: 1.09 MB / 1.282 GB, free: 8.043 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001209/1.167, allocations: 0.586 MB / 1.282 GB, free: 7.457 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002368/1.167, allocations: 68 kB / 1.282 GB, free: 7.391 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002958/1.17, allocations: 1.384 MB / 1.284 GB, free: 6.004 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004167/1.171, allocations: 295.2 kB / 1.284 GB, free: 5.715 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007621/1.172, allocations: 410.1 kB / 1.284 GB, free: 5.312 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002903/1.174, allocations: 1.48 MB / 1.286 GB, free: 3.828 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/1.174, allocations: 0 / 1.286 GB, free: 3.828 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.024e-06/1.175, allocations: 0 / 1.286 GB, free: 3.828 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.267e-05/1.175, allocations: 4 kB / 1.286 GB, free: 3.824 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.002289/1.177, allocations: 1.087 MB / 1.287 GB, free: 2.688 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/1.177, allocations: 8.031 kB / 1.287 GB, free: 2.68 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001489/1.178, allocations: 210.9 kB / 1.287 GB, free: 2.473 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/1.18, allocations: 0.6066 MB / 1.288 GB, free: 1.82 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.234e-05/1.18, allocations: 45.31 kB / 1.288 GB, free: 1.777 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/1.18, allocations: 56 kB / 1.288 GB, free: 1.723 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/1.181, allocations: 0.6206 MB / 1.288 GB, free: 1.086 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/1.181, allocations: 3.938 kB / 1.288 GB, free: 1.082 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.728e-05/1.181, allocations: 20 kB / 1.288 GB, free: 1.062 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.639e-05/1.181, allocations: 17.31 kB / 1.288 GB, free: 1.047 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008229/1.182, allocations: 0.4931 MB / 1.289 GB, free: 0.5547 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.003271/1.185, allocations: 2.396 MB / 1.291 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006457/1.186, allocations: 362.7 kB / 1.291 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002965/1.186, allocations: 208.8 kB / 1.292 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000602/1.187, allocations: 311.8 kB / 1.292 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/1.187, allocations: 34.56 kB / 1.292 GB, free: 12.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=36): time 2.405e-06/1.187, allocations: 0 / 1.292 GB, free: 12.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=36): time 0.001238/1.188, allocations: 0.5518 MB / 1.293 GB, free: 12.42 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/1.188, allocations: 55.41 kB / 1.293 GB, free: 12.35 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006257/1.189, allocations: 0.4989 MB / 1.293 GB, free: 11.84 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.736e-05/1.189, allocations: 33.7 kB / 1.293 GB, free: 11.8 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002551/1.189, allocations: 319.8 kB / 1.293 GB, free: 11.49 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/1.189, allocations: 126.1 kB / 1.294 GB, free: 11.36 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/1.189, allocations: 86.03 kB / 1.294 GB, free: 11.27 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001476/1.189, allocations: 370.8 kB / 1.294 GB, free: 10.9 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/1.19, allocations: 146.5 kB / 1.294 GB, free: 10.76 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003379/1.19, allocations: 267.7 kB / 1.294 GB, free: 10.45 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005655/1.191, allocations: 414 kB / 1.295 GB, free: 10.02 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/1.191, allocations: 4 kB / 1.295 GB, free: 10.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007752/1.191, allocations: 481.2 kB / 1.295 GB, free: 9.539 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/1.191, allocations: 8 kB / 1.295 GB, free: 9.531 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/1.191, allocations: 0 / 1.295 GB, free: 9.531 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/1.191, allocations: 7.984 kB / 1.295 GB, free: 9.523 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005785/1.192, allocations: 103.8 kB / 1.295 GB, free: 9.422 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004378/1.193, allocations: 0.5979 MB / 1.296 GB, free: 8.801 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005946/1.193, allocations: 47.52 kB / 1.296 GB, free: 8.754 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.854e-05/1.193, allocations: 20 kB / 1.296 GB, free: 8.734 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005873/1.194, allocations: 324.9 kB / 1.296 GB, free: 8.414 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003633/1.194, allocations: 259.5 kB / 1.297 GB, free: 8.125 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005858/1.195, allocations: 404.6 kB / 1.297 GB, free: 7.699 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.754e-06/1.195, allocations: 3.984 kB / 1.297 GB, free: 7.695 MB / 1.029 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0009105/1.196, allocations: 492.5 kB / 1.297 GB, free: 7.207 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/1.196, allocations: 4 kB / 1.297 GB, free: 7.203 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/1.196, allocations: 7.938 kB / 1.297 GB, free: 7.195 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/1.196, allocations: 4 kB / 1.297 GB, free: 7.191 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004094/1.196, allocations: 87.84 kB / 1.298 GB, free: 7.105 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/1.196, allocations: 4 kB / 1.298 GB, free: 7.102 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005743/1.197, allocations: 31.86 kB / 1.298 GB, free: 7.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.291e-05/1.197, allocations: 20.25 kB / 1.298 GB, free: 7.051 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.0002919/1.197, allocations: 212.1 kB / 1.298 GB, free: 6.836 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/1.197, allocations: 59.28 kB / 1.298 GB, free: 6.777 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008571/1.198, allocations: 445.3 kB / 1.298 GB, free: 6.328 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/1.198, allocations: 4 kB / 1.298 GB, free: 6.324 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/1.198, allocations: 0 / 1.298 GB, free: 6.324 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006739/1.199, allocations: 0.6636 MB / 1.299 GB, free: 5.574 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001993/1.201, allocations: 1.206 MB / 1.3 GB, free: 4.289 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/1.201, allocations: 0 / 1.3 GB, free: 4.289 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004902/1.201, allocations: 96.09 kB / 1.3 GB, free: 4.195 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/1.201, allocations: 11.94 kB / 1.3 GB, free: 4.184 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/1.201, allocations: 8 kB / 1.3 GB, free: 4.176 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003209/1.202, allocations: 0.5898 MB / 1.301 GB, free: 3.562 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/1.202, allocations: 4.031 kB / 1.301 GB, free: 3.559 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009059/1.203, allocations: 0.7041 MB / 1.301 GB, free: 2.816 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002988/1.203, allocations: 176.4 kB / 1.302 GB, free: 2.625 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.293e-05/1.203, allocations: 11.94 kB / 1.302 GB, free: 2.613 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004241/1.204, allocations: 16 kB / 1.302 GB, free: 2.598 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/1.204, allocations: 23.97 kB / 1.302 GB, free: 2.574 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.959e-05/1.204, allocations: 15.98 kB / 1.302 GB, free: 2.559 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004444/1.204, allocations: 354.8 kB / 1.302 GB, free: 2.215 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.3e-07/1.204, allocations: 0 / 1.302 GB, free: 2.215 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001052/1.205, allocations: 347.2 kB / 1.302 GB, free: 1.875 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.0005772/1.206, allocations: 205.4 kB / 1.303 GB, free: 1.676 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001272/1.207, allocations: 0.6057 MB / 1.303 GB, free: 1.07 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/1.207, allocations: 0 / 1.303 GB, free: 1.07 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003405/1.207, allocations: 193 kB / 1.303 GB, free: 0.8828 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/1.209, allocations: 359.1 kB / 1.304 GB, free: 0.5352 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002321/1.211, allocations: 1.37 MB / 1.305 GB, free: 15.11 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005872/1.212, allocations: 0.9413 MB / 1.306 GB, free: 14.14 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/1.212, allocations: 51.42 kB / 1.306 GB, free: 14.09 MB / 1.045 GB Notification: Performance of SimCode: time 4.31e-07/1.212, allocations: 0 / 1.306 GB, free: 14.09 MB / 1.045 GB Notification: Performance of Templates: time 0.01928/1.231, allocations: 12.69 MB / 1.318 GB, free: 1.484 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