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.006851/0.006851, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001484/0.001484, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.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.417/2.417, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 68.48 kB / 0.9509 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.289, allocations: 140.4 MB / 1.088 GB, free: 1.566 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.917/1.206, allocations: 186.8 MB / 1.27 GB, free: 3.496 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008606/1.215, allocations: 4.567 MB / 1.275 GB, free: 3.449 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001202/1.216, allocations: 28.97 kB / 1.275 GB, free: 3.449 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001345/1.217, allocations: 425.8 kB / 1.275 GB, free: 3.445 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004199/1.222, allocations: 1.396 MB / 1.277 GB, free: 3.387 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002739/1.224, allocations: 0.7576 MB / 1.277 GB, free: 3.371 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00435/1.229, allocations: 1.97 MB / 1.279 GB, free: 3.363 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001955/1.231, allocations: 0.6616 MB / 1.28 GB, free: 3.312 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004449/1.235, allocations: 1.109 MB / 1.281 GB, free: 3.301 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001832/1.237, allocations: 0.5863 MB / 1.282 GB, free: 3.301 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003661/1.237, allocations: 65.44 kB / 1.282 GB, free: 3.301 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004036/1.241, allocations: 1.389 MB / 1.283 GB, free: 3.285 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007409/1.242, allocations: 291.6 kB / 1.283 GB, free: 3.281 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001454/1.244, allocations: 413.5 kB / 1.284 GB, free: 3.281 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00428/1.248, allocations: 1.478 MB / 1.285 GB, free: 3.199 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.248, allocations: 1.531 kB / 1.285 GB, free: 3.199 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.333e-06/1.248, allocations: 0 / 1.285 GB, free: 3.199 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.75e-05/1.248, allocations: 0.5 kB / 1.285 GB, free: 3.199 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.003713/1.252, allocations: 1.096 MB / 1.286 GB, free: 2.543 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/1.252, allocations: 8.531 kB / 1.286 GB, free: 2.543 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001825/1.254, allocations: 202.2 kB / 1.286 GB, free: 2.504 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002172/1.256, allocations: 0.6153 MB / 1.287 GB, free: 2.223 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.551e-05/1.256, allocations: 43.31 kB / 1.287 GB, free: 2.223 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001987/1.256, allocations: 56.16 kB / 1.287 GB, free: 2.223 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/1.258, allocations: 0.6166 MB / 1.288 GB, free: 2.148 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.512e-05/1.258, allocations: 4 kB / 1.288 GB, free: 2.148 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.587e-05/1.258, allocations: 23.84 kB / 1.288 GB, free: 2.148 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.218e-05/1.258, allocations: 24.53 kB / 1.288 GB, free: 2.145 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/1.259, allocations: 0.4917 MB / 1.288 GB, free: 2.137 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.004538/1.264, allocations: 2.394 MB / 1.291 GB, free: 16.85 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008212/1.265, allocations: 362.9 kB / 1.291 GB, free: 16.82 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004089/1.265, allocations: 210 kB / 1.291 GB, free: 16.81 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006588/1.266, allocations: 309.7 kB / 1.291 GB, free: 16.53 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/1.266, allocations: 37.11 kB / 1.291 GB, free: 16.49 MB / 1.029 GB Notification: Performance of pre-optimization done (n=36): time 2.074e-06/1.266, allocations: 0 / 1.291 GB, free: 16.49 MB / 1.029 GB Notification: Performance of matching and sorting (n=36): time 0.001474/1.267, allocations: 0.5516 MB / 1.292 GB, free: 16.42 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.639e-05/1.267, allocations: 57.16 kB / 1.292 GB, free: 16.36 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009387/1.268, allocations: 0.4991 MB / 1.292 GB, free: 16.23 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.282e-05/1.268, allocations: 33.06 kB / 1.293 GB, free: 16.2 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/1.269, allocations: 318.8 kB / 1.293 GB, free: 16.05 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/1.269, allocations: 130.8 kB / 1.293 GB, free: 15.97 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/1.269, allocations: 84.09 kB / 1.293 GB, free: 15.95 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001794/1.269, allocations: 371.2 kB / 1.293 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002948/1.27, allocations: 148.9 kB / 1.294 GB, free: 15.63 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003686/1.27, allocations: 263 kB / 1.294 GB, free: 15.52 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006102/1.27, allocations: 404.7 kB / 1.294 GB, free: 15.44 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/1.271, allocations: 5.938 kB / 1.294 GB, free: 15.44 MB / 1.029 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009/1.271, allocations: 492.4 kB / 1.295 GB, free: 15.37 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/1.271, allocations: 8.25 kB / 1.295 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.448e-05/1.271, allocations: 2.531 kB / 1.295 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.043e-05/1.272, allocations: 7.031 kB / 1.295 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006037/1.272, allocations: 93.95 kB / 1.295 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004301/1.273, allocations: 0.5929 MB / 1.295 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000631/1.273, allocations: 50.67 kB / 1.295 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-05/1.273, allocations: 19.38 kB / 1.295 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005681/1.274, allocations: 328.2 kB / 1.296 GB, free: 14.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004538/1.274, allocations: 262.3 kB / 1.296 GB, free: 14.57 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006928/1.275, allocations: 403.4 kB / 1.296 GB, free: 14.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.071e-06/1.275, allocations: 1.25 kB / 1.296 GB, free: 14.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.00104/1.276, allocations: 487.8 kB / 1.297 GB, free: 14.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/1.276, allocations: 6.312 kB / 1.297 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/1.276, allocations: 2.5 kB / 1.297 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/1.276, allocations: 5.312 kB / 1.297 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003987/1.277, allocations: 89.38 kB / 1.297 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/1.277, allocations: 4.469 kB / 1.297 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006174/1.277, allocations: 34.67 kB / 1.297 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.414e-05/1.277, allocations: 18.55 kB / 1.297 GB, free: 14.4 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.0002413/1.278, allocations: 210.7 kB / 1.297 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/1.278, allocations: 56.8 kB / 1.297 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/1.279, allocations: 446.3 kB / 1.298 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/1.279, allocations: 4.359 kB / 1.298 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/1.279, allocations: 1.344 kB / 1.298 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000765/1.28, allocations: 0.6581 MB / 1.298 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002167/1.282, allocations: 1.209 MB / 1.299 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/1.282, allocations: 2.734 kB / 1.299 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005089/1.282, allocations: 95.52 kB / 1.3 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.336e-05/1.282, allocations: 5.578 kB / 1.3 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.073e-05/1.282, allocations: 9.391 kB / 1.3 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003999/1.283, allocations: 0.5912 MB / 1.3 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/1.283, allocations: 3.25 kB / 1.3 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/1.284, allocations: 0.7176 MB / 1.301 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003403/1.284, allocations: 172.1 kB / 1.301 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/1.284, allocations: 13.75 kB / 1.301 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004422/1.285, allocations: 15.11 kB / 1.301 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.84e-05/1.285, allocations: 31.73 kB / 1.301 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.701e-05/1.285, allocations: 16.23 kB / 1.301 GB, free: 12.36 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004925/1.286, allocations: 358.2 kB / 1.301 GB, free: 12.28 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.6e-07/1.286, allocations: 1.203 kB / 1.301 GB, free: 12.28 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001525/1.287, allocations: 346.9 kB / 1.302 GB, free: 12.23 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.0007275/1.288, allocations: 205.2 kB / 1.302 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001419/1.289, allocations: 0.5902 MB / 1.303 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/1.289, allocations: 1.312 kB / 1.303 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003839/1.29, allocations: 190 kB / 1.303 GB, free: 12.11 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001859/1.292, allocations: 353.2 kB / 1.303 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002707/1.294, allocations: 1.333 MB / 1.304 GB, free: 11.52 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007153/1.295, allocations: 0.9475 MB / 1.305 GB, free: 10.82 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009075/1.296, allocations: 210.7 kB / 1.305 GB, free: 10.79 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/1.296, allocations: 50.47 kB / 1.306 GB, free: 10.78 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/1.296, allocations: 0 / 1.306 GB, free: 10.78 MB / 1.029 GB Notification: Performance of Templates: time 0.02512/1.321, allocations: 11.89 MB / 1.317 GB, free: 10.05 MB / 1.029 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches