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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002107/0.002107, allocations: 192.1 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.595/2.595, allocations: 443.4 MB / 0.7321 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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=2500,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=2500,variableFilter="time|vol.Xi.1.|senMasFra1.X|senMasFra2.X",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 67.88 kB / 1.061 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.019/1.021, allocations: 160.8 MB / 1.218 GB, free: 3.773 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.2399/1.261, allocations: 187.8 MB / 1.402 GB, free: 10.79 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.009046/1.27, allocations: 4.614 MB / 1.406 GB, free: 6.168 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/1.271, allocations: 43.62 kB / 1.406 GB, free: 6.125 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001438/1.273, allocations: 425.4 kB / 1.407 GB, free: 5.707 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004569/1.277, allocations: 1.424 MB / 1.408 GB, free: 4.277 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00255/1.28, allocations: 0.7811 MB / 1.409 GB, free: 3.5 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003568/1.283, allocations: 2.028 MB / 1.411 GB, free: 1.469 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001025/1.284, allocations: 0.4997 MB / 1.411 GB, free: 0.957 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003772/1.288, allocations: 1.145 MB / 1.413 GB, free: 15.82 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001487/1.29, allocations: 0.628 MB / 1.413 GB, free: 15.2 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001435/1.29, allocations: 64 kB / 1.413 GB, free: 15.13 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003578/1.293, allocations: 1.473 MB / 1.415 GB, free: 13.66 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004444/1.294, allocations: 295.1 kB / 1.415 GB, free: 13.37 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0006733/1.294, allocations: 422.1 kB / 1.415 GB, free: 12.95 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00282/1.297, allocations: 1.479 MB / 1.417 GB, free: 11.47 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.297, allocations: 0 / 1.417 GB, free: 11.47 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.784e-06/1.297, allocations: 3.938 kB / 1.417 GB, free: 11.47 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.21e-05/1.297, allocations: 0 / 1.417 GB, free: 11.47 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.001882/1.299, allocations: 1.12 MB / 1.418 GB, free: 10.3 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/1.299, allocations: 12.03 kB / 1.418 GB, free: 10.29 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001314/1.301, allocations: 211.3 kB / 1.418 GB, free: 10.08 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/1.302, allocations: 0.6149 MB / 1.419 GB, free: 9.418 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.988e-05/1.302, allocations: 37.31 kB / 1.419 GB, free: 9.383 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.156e-05/1.302, allocations: 56 kB / 1.419 GB, free: 9.328 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/1.303, allocations: 0.6245 MB / 1.419 GB, free: 8.688 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/1.303, allocations: 3.938 kB / 1.419 GB, free: 8.684 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.138e-05/1.303, allocations: 20 kB / 1.419 GB, free: 8.664 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-05/1.303, allocations: 21.31 kB / 1.419 GB, free: 8.645 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008431/1.304, allocations: 0.4969 MB / 1.42 GB, free: 8.148 MB / 1.123 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.003274/1.307, allocations: 2.397 MB / 1.422 GB, free: 5.543 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006475/1.308, allocations: 342.8 kB / 1.423 GB, free: 5.199 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003176/1.308, allocations: 204.7 kB / 1.423 GB, free: 4.996 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006299/1.309, allocations: 311.2 kB / 1.423 GB, free: 4.637 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.324e-05/1.309, allocations: 38.56 kB / 1.423 GB, free: 4.59 MB / 1.123 GB Notification: Performance of pre-optimization done (n=36): time 2.475e-06/1.309, allocations: 0 / 1.423 GB, free: 4.59 MB / 1.123 GB Notification: Performance of matching and sorting (n=36): time 0.001234/1.31, allocations: 0.555 MB / 1.424 GB, free: 4.031 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/1.31, allocations: 55.41 kB / 1.424 GB, free: 3.965 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00062/1.311, allocations: 0.4989 MB / 1.424 GB, free: 3.453 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.263e-05/1.311, allocations: 29.7 kB / 1.424 GB, free: 3.418 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002716/1.311, allocations: 324.4 kB / 1.425 GB, free: 3.098 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.000146/1.311, allocations: 146.8 kB / 1.425 GB, free: 2.953 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/1.311, allocations: 82.12 kB / 1.425 GB, free: 2.867 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001902/1.311, allocations: 362.8 kB / 1.425 GB, free: 2.504 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002558/1.312, allocations: 146.5 kB / 1.425 GB, free: 2.355 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003551/1.312, allocations: 263.7 kB / 1.426 GB, free: 2.062 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006006/1.313, allocations: 406.2 kB / 1.426 GB, free: 1.637 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.313, allocations: 0 / 1.426 GB, free: 1.637 MB / 1.123 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007948/1.313, allocations: 0.4897 MB / 1.426 GB, free: 1.141 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/1.314, allocations: 4 kB / 1.426 GB, free: 1.137 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/1.314, allocations: 4 kB / 1.426 GB, free: 1.133 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/1.314, allocations: 4 kB / 1.426 GB, free: 1.129 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005771/1.314, allocations: 95.83 kB / 1.426 GB, free: 1.035 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000433/1.315, allocations: 0.6019 MB / 1.427 GB, free: 420 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004853/1.315, allocations: 43.72 kB / 1.427 GB, free: 376 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.267e-05/1.315, allocations: 19.94 kB / 1.427 GB, free: 356 kB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004857/1.316, allocations: 324.9 kB / 1.427 GB, free: 28 kB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003615/1.316, allocations: 263.5 kB / 1.428 GB, free: 15.73 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005706/1.316, allocations: 400.6 kB / 1.428 GB, free: 15.3 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.643e-06/1.316, allocations: 0 / 1.428 GB, free: 15.3 MB / 1.139 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007561/1.317, allocations: 489 kB / 1.429 GB, free: 14.82 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/1.317, allocations: 8 kB / 1.429 GB, free: 14.81 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/1.317, allocations: 3.938 kB / 1.429 GB, free: 14.81 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/1.317, allocations: 7.984 kB / 1.429 GB, free: 14.8 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003588/1.318, allocations: 91.83 kB / 1.429 GB, free: 14.71 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/1.318, allocations: 11.94 kB / 1.429 GB, free: 14.7 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004375/1.318, allocations: 31.77 kB / 1.429 GB, free: 14.67 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-05/1.318, allocations: 20 kB / 1.429 GB, free: 14.65 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.000187/1.318, allocations: 208.2 kB / 1.429 GB, free: 14.44 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.984e-05/1.318, allocations: 63.56 kB / 1.429 GB, free: 14.38 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007623/1.319, allocations: 455.7 kB / 1.429 GB, free: 13.92 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/1.319, allocations: 4 kB / 1.429 GB, free: 13.91 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.319, allocations: 0 / 1.429 GB, free: 13.91 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006904/1.32, allocations: 0.6519 MB / 1.43 GB, free: 13.18 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00185/1.322, allocations: 1.208 MB / 1.431 GB, free: 11.89 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/1.322, allocations: 4 kB / 1.431 GB, free: 11.89 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004726/1.322, allocations: 87.88 kB / 1.431 GB, free: 11.8 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/1.322, allocations: 4.219 kB / 1.431 GB, free: 11.8 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.165e-05/1.322, allocations: 16 kB / 1.431 GB, free: 11.78 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003514/1.323, allocations: 0.5938 MB / 1.432 GB, free: 11.16 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.323, allocations: 3.984 kB / 1.432 GB, free: 11.16 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009296/1.324, allocations: 0.7126 MB / 1.433 GB, free: 10.41 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002738/1.324, allocations: 180.7 kB / 1.433 GB, free: 10.21 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.119e-05/1.324, allocations: 11.94 kB / 1.433 GB, free: 10.2 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003722/1.324, allocations: 14.05 kB / 1.433 GB, free: 10.19 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.39e-05/1.324, allocations: 31.95 kB / 1.433 GB, free: 10.16 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/1.324, allocations: 12 kB / 1.433 GB, free: 10.15 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0004821/1.325, allocations: 358.8 kB / 1.433 GB, free: 9.801 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/1.325, allocations: 0 / 1.433 GB, free: 9.801 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.000947/1.326, allocations: 347.3 kB / 1.434 GB, free: 9.461 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.0005048/1.326, allocations: 192.3 kB / 1.434 GB, free: 9.273 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001188/1.327, allocations: 0.5702 MB / 1.434 GB, free: 8.703 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.327, allocations: 0 / 1.434 GB, free: 8.703 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.000318/1.328, allocations: 187.6 kB / 1.434 GB, free: 8.52 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/1.329, allocations: 364.4 kB / 1.435 GB, free: 8.168 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002271/1.332, allocations: 1.368 MB / 1.436 GB, free: 6.746 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005959/1.332, allocations: 0.9414 MB / 1.437 GB, free: 5.777 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0006022/1.333, allocations: 200.9 kB / 1.437 GB, free: 5.582 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/1.333, allocations: 55.42 kB / 1.437 GB, free: 5.527 MB / 1.139 GB Notification: Performance of SimCode: time 1.052e-06/1.333, allocations: 4 kB / 1.437 GB, free: 5.523 MB / 1.139 GB Notification: Performance of Templates: time 0.02362/1.357, allocations: 12.23 MB / 1.449 GB, free: 9.469 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.89940620213747]