Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001376/0.001375, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001493/0.001493, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.595/2.595, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 64.09 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7821/0.7836, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.2022/0.9859, allocations: 186.8 MB / 1.391 GB, free: 2.102 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.008067/0.994, allocations: 4.586 MB / 1.395 GB, free: 13.51 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001127/0.9951, allocations: 31.81 kB / 1.395 GB, free: 13.48 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001348/0.9965, allocations: 405.5 kB / 1.396 GB, free: 13.08 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003676/1, allocations: 1.346 MB / 1.397 GB, free: 11.73 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002314/1.003, allocations: 0.7577 MB / 1.398 GB, free: 10.97 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002895/1.005, allocations: 1.964 MB / 1.4 GB, free: 9 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001225/1.007, allocations: 0.6496 MB / 1.4 GB, free: 8.34 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00344/1.01, allocations: 1.105 MB / 1.401 GB, free: 7.246 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001289/1.011, allocations: 0.5828 MB / 1.402 GB, free: 6.664 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002015/1.012, allocations: 64 kB / 1.402 GB, free: 6.602 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003005/1.015, allocations: 1.38 MB / 1.403 GB, free: 5.219 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000487/1.015, allocations: 287.2 kB / 1.404 GB, free: 4.938 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0009095/1.016, allocations: 414.1 kB / 1.404 GB, free: 4.531 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003184/1.019, allocations: 1.484 MB / 1.406 GB, free: 3.043 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/1.019, allocations: 0 / 1.406 GB, free: 3.043 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.563e-06/1.019, allocations: 0 / 1.406 GB, free: 3.043 MB / 1.123 GB Notification: Performance of Transformations before backend: time 3.838e-05/1.019, allocations: 4 kB / 1.406 GB, free: 3.039 MB / 1.123 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.002251/1.022, allocations: 1.09 MB / 1.407 GB, free: 1.898 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/1.022, allocations: 12.03 kB / 1.407 GB, free: 1.887 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001544/1.023, allocations: 198.9 kB / 1.407 GB, free: 1.691 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/1.024, allocations: 0.6105 MB / 1.407 GB, free: 1.035 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.258e-05/1.025, allocations: 45.3 kB / 1.407 GB, free: 0.9922 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/1.025, allocations: 60 kB / 1.407 GB, free: 0.9336 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/1.026, allocations: 0.6128 MB / 1.408 GB, free: 312 kB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/1.026, allocations: 7.938 kB / 1.408 GB, free: 304 kB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.742e-05/1.026, allocations: 24 kB / 1.408 GB, free: 280 kB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.916e-05/1.026, allocations: 17.31 kB / 1.408 GB, free: 264 kB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008425/1.027, allocations: 0.493 MB / 1.409 GB, free: 15.77 MB / 1.139 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.003209/1.03, allocations: 2.4 MB / 1.411 GB, free: 13.16 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006357/1.031, allocations: 362.7 kB / 1.411 GB, free: 12.79 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003095/1.031, allocations: 208.8 kB / 1.412 GB, free: 12.59 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005768/1.032, allocations: 303.2 kB / 1.412 GB, free: 12.23 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/1.032, allocations: 38.56 kB / 1.412 GB, free: 12.19 MB / 1.139 GB Notification: Performance of pre-optimization done (n=36): time 2.304e-06/1.032, allocations: 0 / 1.412 GB, free: 12.19 MB / 1.139 GB Notification: Performance of matching and sorting (n=36): time 0.001207/1.033, allocations: 0.5485 MB / 1.412 GB, free: 11.63 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/1.033, allocations: 55.41 kB / 1.412 GB, free: 11.57 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006182/1.033, allocations: 0.4989 MB / 1.413 GB, free: 11.06 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 5.377e-05/1.034, allocations: 41.7 kB / 1.413 GB, free: 11.01 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002795/1.034, allocations: 319.8 kB / 1.413 GB, free: 10.7 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/1.034, allocations: 122.2 kB / 1.413 GB, free: 10.57 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/1.034, allocations: 86.03 kB / 1.413 GB, free: 10.48 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001637/1.034, allocations: 366.8 kB / 1.414 GB, free: 10.12 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002547/1.035, allocations: 154.5 kB / 1.414 GB, free: 9.961 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003373/1.035, allocations: 267.7 kB / 1.414 GB, free: 9.664 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005775/1.035, allocations: 406.2 kB / 1.415 GB, free: 9.238 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/1.035, allocations: 0 / 1.415 GB, free: 9.238 MB / 1.139 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007882/1.036, allocations: 485.2 kB / 1.415 GB, free: 8.758 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/1.036, allocations: 7.984 kB / 1.415 GB, free: 8.75 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/1.036, allocations: 4 kB / 1.415 GB, free: 8.746 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/1.036, allocations: 4 kB / 1.415 GB, free: 8.742 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000586/1.037, allocations: 99.83 kB / 1.415 GB, free: 8.645 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004116/1.037, allocations: 0.598 MB / 1.416 GB, free: 8.023 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005483/1.038, allocations: 47.53 kB / 1.416 GB, free: 7.977 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.192e-05/1.038, allocations: 19.98 kB / 1.416 GB, free: 7.957 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004584/1.038, allocations: 324.9 kB / 1.416 GB, free: 7.637 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003244/1.039, allocations: 267.5 kB / 1.416 GB, free: 7.332 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005386/1.039, allocations: 400.6 kB / 1.417 GB, free: 6.91 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.665e-06/1.039, allocations: 0 / 1.417 GB, free: 6.91 MB / 1.139 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.000746/1.04, allocations: 488.6 kB / 1.417 GB, free: 6.426 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/1.04, allocations: 10.03 kB / 1.417 GB, free: 6.418 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/1.04, allocations: 3.938 kB / 1.417 GB, free: 6.414 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.911e-06/1.04, allocations: 4 kB / 1.417 GB, free: 6.41 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003635/1.04, allocations: 91.84 kB / 1.417 GB, free: 6.32 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/1.041, allocations: 7.984 kB / 1.417 GB, free: 6.312 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004834/1.041, allocations: 31.75 kB / 1.417 GB, free: 6.281 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.199e-05/1.041, allocations: 15.98 kB / 1.417 GB, free: 6.266 MB / 1.139 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.000172/1.041, allocations: 212.3 kB / 1.418 GB, free: 6.051 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/1.041, allocations: 63.28 kB / 1.418 GB, free: 5.988 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007566/1.042, allocations: 449.1 kB / 1.418 GB, free: 5.539 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/1.042, allocations: 3.984 kB / 1.418 GB, free: 5.535 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/1.042, allocations: 4 kB / 1.418 GB, free: 5.531 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006471/1.043, allocations: 0.652 MB / 1.419 GB, free: 4.793 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001723/1.045, allocations: 1.199 MB / 1.42 GB, free: 3.516 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/1.045, allocations: 7.984 kB / 1.42 GB, free: 3.508 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004744/1.045, allocations: 95.88 kB / 1.42 GB, free: 3.414 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/1.045, allocations: 4.219 kB / 1.42 GB, free: 3.41 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.244e-05/1.045, allocations: 12 kB / 1.42 GB, free: 3.398 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003313/1.045, allocations: 0.5938 MB / 1.421 GB, free: 2.781 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.045, allocations: 0 / 1.421 GB, free: 2.781 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009631/1.046, allocations: 0.7079 MB / 1.421 GB, free: 2.031 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000243/1.047, allocations: 180.3 kB / 1.421 GB, free: 1.836 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.156e-05/1.047, allocations: 11.94 kB / 1.421 GB, free: 1.824 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004084/1.047, allocations: 24.05 kB / 1.421 GB, free: 1.801 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.459e-05/1.047, allocations: 19.97 kB / 1.421 GB, free: 1.781 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.088e-05/1.047, allocations: 16.09 kB / 1.422 GB, free: 1.766 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0004283/1.048, allocations: 354.8 kB / 1.422 GB, free: 1.422 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.3e-07/1.048, allocations: 0 / 1.422 GB, free: 1.422 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0009911/1.049, allocations: 351.1 kB / 1.422 GB, free: 1.078 MB / 1.139 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.0005218/1.049, allocations: 187.9 kB / 1.422 GB, free: 0.8906 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001318/1.051, allocations: 0.597 MB / 1.423 GB, free: 300 kB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/1.051, allocations: 0 / 1.423 GB, free: 300 kB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003402/1.051, allocations: 193.4 kB / 1.423 GB, free: 108 kB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001749/1.053, allocations: 362.4 kB / 1.423 GB, free: 15.75 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/1.055, allocations: 1.382 MB / 1.425 GB, free: 14.32 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000625/1.056, allocations: 0.9414 MB / 1.426 GB, free: 13.35 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001838/1.056, allocations: 47.44 kB / 1.426 GB, free: 13.3 MB / 1.154 GB Notification: Performance of SimCode: time 1.103e-06/1.056, allocations: 3.938 kB / 1.426 GB, free: 13.3 MB / 1.154 GB Notification: Performance of Templates: time 0.01933/1.075, allocations: 12.68 MB / 1.438 GB, free: 0.7031 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_MassFraction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches