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.007679/0.007679, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001692/0.001692, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.716/2.716, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 67.89 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3146, allocations: 151.6 MB / 1.167 GB, free: 6.785 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.9298/1.244, allocations: 186.8 MB / 1.349 GB, free: 5.422 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008048/1.253, allocations: 4.578 MB / 1.354 GB, free: 2.191 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/1.254, allocations: 27.97 kB / 1.354 GB, free: 2.184 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001182/1.255, allocations: 419.9 kB / 1.354 GB, free: 1.938 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.003616/1.259, allocations: 1.402 MB / 1.355 GB, free: 1.168 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002288/1.261, allocations: 0.754 MB / 1.356 GB, free: 0.7852 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003164/1.264, allocations: 1.964 MB / 1.358 GB, free: 15.9 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0013/1.265, allocations: 0.6586 MB / 1.359 GB, free: 15.6 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003727/1.269, allocations: 1.112 MB / 1.36 GB, free: 15.11 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00138/1.271, allocations: 0.5878 MB / 1.36 GB, free: 14.86 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002379/1.271, allocations: 64.38 kB / 1.36 GB, free: 14.86 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003222/1.274, allocations: 1.381 MB / 1.362 GB, free: 14.35 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004957/1.275, allocations: 290.5 kB / 1.362 GB, free: 14.23 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0009466/1.276, allocations: 420.2 kB / 1.362 GB, free: 13.99 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00345/1.279, allocations: 1.48 MB / 1.364 GB, free: 13.46 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/1.279, allocations: 0 / 1.364 GB, free: 13.46 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.113e-06/1.279, allocations: 5.188 kB / 1.364 GB, free: 13.46 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.685e-05/1.279, allocations: 0 / 1.364 GB, free: 13.46 MB / 1.045 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.002764/1.282, allocations: 1.128 MB / 1.365 GB, free: 12.59 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/1.282, allocations: 9.406 kB / 1.365 GB, free: 12.59 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001608/1.284, allocations: 209.1 kB / 1.365 GB, free: 12.49 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/1.285, allocations: 0.614 MB / 1.366 GB, free: 11.99 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.437e-05/1.285, allocations: 46.78 kB / 1.366 GB, free: 11.97 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/1.285, allocations: 52.53 kB / 1.366 GB, free: 11.95 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/1.286, allocations: 0.6198 MB / 1.366 GB, free: 11.58 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/1.286, allocations: 3.984 kB / 1.366 GB, free: 11.57 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.994e-05/1.287, allocations: 28.59 kB / 1.366 GB, free: 11.55 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.881e-05/1.287, allocations: 19.81 kB / 1.366 GB, free: 11.55 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009375/1.288, allocations: 0.4924 MB / 1.367 GB, free: 11.31 MB / 1.045 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.00363/1.291, allocations: 2.402 MB / 1.369 GB, free: 9.207 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000625/1.292, allocations: 358.2 kB / 1.37 GB, free: 9.02 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000299/1.292, allocations: 214.3 kB / 1.37 GB, free: 8.914 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005935/1.293, allocations: 313.3 kB / 1.37 GB, free: 8.598 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/1.293, allocations: 32.34 kB / 1.37 GB, free: 8.559 MB / 1.045 GB Notification: Performance of pre-optimization done (n=36): time 2.274e-06/1.293, allocations: 0 / 1.37 GB, free: 8.559 MB / 1.045 GB Notification: Performance of matching and sorting (n=36): time 0.00126/1.294, allocations: 0.5594 MB / 1.371 GB, free: 8.273 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/1.294, allocations: 55.19 kB / 1.371 GB, free: 8.211 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007046/1.295, allocations: 0.5015 MB / 1.371 GB, free: 7.902 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.664e-05/1.295, allocations: 35.89 kB / 1.371 GB, free: 7.863 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002755/1.295, allocations: 321.2 kB / 1.372 GB, free: 7.582 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/1.295, allocations: 135.4 kB / 1.372 GB, free: 7.465 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/1.295, allocations: 81.53 kB / 1.372 GB, free: 7.414 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001934/1.296, allocations: 373.1 kB / 1.372 GB, free: 7.055 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002961/1.296, allocations: 150.8 kB / 1.372 GB, free: 6.973 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003454/1.296, allocations: 260.7 kB / 1.373 GB, free: 6.773 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005648/1.297, allocations: 407.7 kB / 1.373 GB, free: 6.516 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/1.297, allocations: 1.375 kB / 1.373 GB, free: 6.516 MB / 1.045 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007943/1.298, allocations: 491.4 kB / 1.373 GB, free: 6.262 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/1.298, allocations: 5.5 kB / 1.373 GB, free: 6.262 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/1.298, allocations: 2.75 kB / 1.373 GB, free: 6.262 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/1.298, allocations: 4.125 kB / 1.373 GB, free: 6.262 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005378/1.298, allocations: 107.8 kB / 1.374 GB, free: 6.234 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003792/1.299, allocations: 0.5959 MB / 1.374 GB, free: 5.633 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005784/1.299, allocations: 40.09 kB / 1.374 GB, free: 5.605 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-05/1.299, allocations: 18.38 kB / 1.374 GB, free: 5.602 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004654/1.3, allocations: 329.7 kB / 1.374 GB, free: 5.391 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003225/1.3, allocations: 262 kB / 1.375 GB, free: 5.191 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005409/1.301, allocations: 398.6 kB / 1.375 GB, free: 4.938 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.2e-06/1.301, allocations: 1.562 kB / 1.375 GB, free: 4.938 MB / 1.045 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.000732/1.301, allocations: 491 kB / 1.376 GB, free: 4.684 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/1.301, allocations: 6.531 kB / 1.376 GB, free: 4.684 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/1.301, allocations: 2.656 kB / 1.376 GB, free: 4.684 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.155e-06/1.302, allocations: 8.531 kB / 1.376 GB, free: 4.68 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003378/1.302, allocations: 91.47 kB / 1.376 GB, free: 4.66 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/1.302, allocations: 9.625 kB / 1.376 GB, free: 4.656 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005161/1.302, allocations: 37.83 kB / 1.376 GB, free: 4.629 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.681e-05/1.302, allocations: 31.3 kB / 1.376 GB, free: 4.613 MB / 1.045 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.0001683/1.303, allocations: 207.4 kB / 1.376 GB, free: 4.41 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/1.303, allocations: 63.38 kB / 1.376 GB, free: 4.375 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006995/1.303, allocations: 436.8 kB / 1.376 GB, free: 4.121 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/1.303, allocations: 4.938 kB / 1.376 GB, free: 4.121 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.303, allocations: 0 / 1.376 GB, free: 4.121 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006225/1.304, allocations: 0.658 MB / 1.377 GB, free: 3.535 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001737/1.306, allocations: 1.205 MB / 1.378 GB, free: 2.645 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/1.306, allocations: 2.719 kB / 1.378 GB, free: 2.645 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004442/1.306, allocations: 96.19 kB / 1.378 GB, free: 2.617 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/1.306, allocations: 5.312 kB / 1.378 GB, free: 2.617 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.366e-05/1.306, allocations: 6.875 kB / 1.378 GB, free: 2.613 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003032/1.307, allocations: 0.5956 MB / 1.379 GB, free: 2.012 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/1.307, allocations: 2.938 kB / 1.379 GB, free: 2.012 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009005/1.308, allocations: 0.7179 MB / 1.38 GB, free: 1.535 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003135/1.308, allocations: 176 kB / 1.38 GB, free: 1.375 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.592e-05/1.308, allocations: 17.16 kB / 1.38 GB, free: 1.363 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003884/1.308, allocations: 17.45 kB / 1.38 GB, free: 1.352 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/1.308, allocations: 24.97 kB / 1.38 GB, free: 1.34 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/1.309, allocations: 14.58 kB / 1.38 GB, free: 1.336 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000411/1.309, allocations: 357.6 kB / 1.38 GB, free: 1.125 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.2e-07/1.309, allocations: 0 / 1.38 GB, free: 1.125 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001027/1.31, allocations: 343 kB / 1.381 GB, free: 1.062 MB / 1.045 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.0004862/1.31, allocations: 198.8 kB / 1.381 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001118/1.312, allocations: 0.5912 MB / 1.381 GB, free: 0.6562 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/1.312, allocations: 6.984 kB / 1.381 GB, free: 0.6523 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000322/1.312, allocations: 187.9 kB / 1.382 GB, free: 0.5703 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/1.314, allocations: 376 kB / 1.382 GB, free: 380 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/1.316, allocations: 1.363 MB / 1.383 GB, free: 15.43 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005477/1.316, allocations: 0.9407 MB / 1.384 GB, free: 14.61 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0006211/1.317, allocations: 206.4 kB / 1.384 GB, free: 14.52 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/1.317, allocations: 47.38 kB / 1.384 GB, free: 14.52 MB / 1.061 GB Notification: Performance of SimCode: time 4e-07/1.317, allocations: 0 / 1.384 GB, free: 14.52 MB / 1.061 GB Notification: Performance of Templates: time 0.0225/1.34, allocations: 11.89 MB / 1.396 GB, free: 8.691 MB / 1.061 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches