Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001702/0.001702, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001926/0.001926, allocations: 195.3 kB / 22.17 MB, free: 5.211 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.505/1.505, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.929/2.929, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Fluid.Sensors.Examples.MassFraction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 71.88 kB / 1.109 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.795/0.7971, allocations: 168.7 MB / 1.274 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.2128/1.01, allocations: 187.8 MB / 1.457 GB, free: 8.051 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.008449/1.018, allocations: 4.59 MB / 1.462 GB, free: 3.453 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/1.019, allocations: 31.81 kB / 1.462 GB, free: 3.422 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001251/1.021, allocations: 429.4 kB / 1.462 GB, free: 3 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003787/1.024, allocations: 1.401 MB / 1.464 GB, free: 1.594 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002181/1.027, allocations: 0.7717 MB / 1.464 GB, free: 0.8281 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003151/1.03, allocations: 1.968 MB / 1.466 GB, free: 14.86 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009054/1.031, allocations: 0.4954 MB / 1.467 GB, free: 14.35 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003241/1.034, allocations: 1.125 MB / 1.468 GB, free: 13.23 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001198/1.035, allocations: 0.6252 MB / 1.469 GB, free: 12.61 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001115/1.035, allocations: 64 kB / 1.469 GB, free: 12.54 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00293/1.038, allocations: 1.454 MB / 1.47 GB, free: 11.09 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003726/1.039, allocations: 295.1 kB / 1.47 GB, free: 10.8 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000557/1.039, allocations: 418.1 kB / 1.471 GB, free: 10.39 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002767/1.042, allocations: 1.483 MB / 1.472 GB, free: 8.898 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/1.042, allocations: 0 / 1.472 GB, free: 8.898 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.272e-06/1.042, allocations: 0 / 1.472 GB, free: 8.898 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.963e-05/1.042, allocations: 0 / 1.472 GB, free: 8.898 MB / 1.17 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.001976/1.044, allocations: 1.128 MB / 1.473 GB, free: 7.719 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/1.044, allocations: 8.031 kB / 1.473 GB, free: 7.711 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001329/1.045, allocations: 207.3 kB / 1.474 GB, free: 7.508 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/1.046, allocations: 0.6149 MB / 1.474 GB, free: 6.859 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.804e-05/1.046, allocations: 41.31 kB / 1.474 GB, free: 6.816 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/1.047, allocations: 52 kB / 1.474 GB, free: 6.766 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/1.048, allocations: 0.6206 MB / 1.475 GB, free: 6.129 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/1.048, allocations: 3.938 kB / 1.475 GB, free: 6.125 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.571e-05/1.048, allocations: 24 kB / 1.475 GB, free: 6.102 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-05/1.048, allocations: 17.31 kB / 1.475 GB, free: 6.086 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008766/1.049, allocations: 0.4931 MB / 1.475 GB, free: 5.59 MB / 1.17 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.003474/1.052, allocations: 2.405 MB / 1.478 GB, free: 2.973 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000779/1.053, allocations: 350.6 kB / 1.478 GB, free: 2.621 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003503/1.053, allocations: 196.8 kB / 1.478 GB, free: 2.426 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007262/1.054, allocations: 311.2 kB / 1.479 GB, free: 2.066 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/1.054, allocations: 34.56 kB / 1.479 GB, free: 2.023 MB / 1.17 GB Notification: Performance of pre-optimization done (n=36): time 3.336e-06/1.054, allocations: 0 / 1.479 GB, free: 2.023 MB / 1.17 GB Notification: Performance of matching and sorting (n=36): time 0.001402/1.055, allocations: 0.5527 MB / 1.479 GB, free: 1.465 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.488e-05/1.056, allocations: 59.41 kB / 1.479 GB, free: 1.395 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007336/1.056, allocations: 0.5066 MB / 1.48 GB, free: 0.8789 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.383e-05/1.056, allocations: 33.7 kB / 1.48 GB, free: 0.8398 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003253/1.057, allocations: 316.4 kB / 1.48 GB, free: 0.5234 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001658/1.057, allocations: 138.8 kB / 1.48 GB, free: 396 kB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/1.057, allocations: 82.12 kB / 1.48 GB, free: 308 kB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002462/1.057, allocations: 370.8 kB / 1.481 GB, free: 15.93 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/1.057, allocations: 150.5 kB / 1.481 GB, free: 15.78 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003988/1.058, allocations: 263.6 kB / 1.481 GB, free: 15.48 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006699/1.059, allocations: 406.2 kB / 1.481 GB, free: 15.05 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/1.059, allocations: 4 kB / 1.481 GB, free: 15.05 MB / 1.186 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009328/1.059, allocations: 485.5 kB / 1.482 GB, free: 14.57 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/1.06, allocations: 10.03 kB / 1.482 GB, free: 14.56 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/1.06, allocations: 288 / 1.482 GB, free: 14.56 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.881e-05/1.06, allocations: 11.98 kB / 1.482 GB, free: 14.55 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006459/1.06, allocations: 103.8 kB / 1.482 GB, free: 14.45 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005192/1.061, allocations: 0.5938 MB / 1.482 GB, free: 13.83 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005445/1.061, allocations: 43.72 kB / 1.483 GB, free: 13.79 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.84e-05/1.061, allocations: 28 kB / 1.483 GB, free: 13.76 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005544/1.062, allocations: 329 kB / 1.483 GB, free: 13.44 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003608/1.062, allocations: 251.4 kB / 1.483 GB, free: 13.16 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006084/1.063, allocations: 408.6 kB / 1.483 GB, free: 12.73 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.914e-06/1.063, allocations: 0 / 1.483 GB, free: 12.73 MB / 1.186 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.000816/1.064, allocations: 492.8 kB / 1.484 GB, free: 12.24 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/1.064, allocations: 7.938 kB / 1.484 GB, free: 12.23 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/1.064, allocations: 7.938 kB / 1.484 GB, free: 12.22 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/1.064, allocations: 4 kB / 1.484 GB, free: 12.22 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00038/1.064, allocations: 80.19 kB / 1.484 GB, free: 12.14 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/1.064, allocations: 8 kB / 1.484 GB, free: 12.13 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005029/1.065, allocations: 39.77 kB / 1.484 GB, free: 12.09 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.971e-05/1.065, allocations: 16 kB / 1.484 GB, free: 12.08 MB / 1.186 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.0002017/1.065, allocations: 212.1 kB / 1.484 GB, free: 11.86 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/1.065, allocations: 63.56 kB / 1.484 GB, free: 11.8 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008203/1.066, allocations: 445.8 kB / 1.485 GB, free: 11.36 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/1.066, allocations: 8 kB / 1.485 GB, free: 11.35 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/1.066, allocations: 0 / 1.485 GB, free: 11.35 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000724/1.066, allocations: 0.6598 MB / 1.485 GB, free: 10.61 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001995/1.068, allocations: 1.21 MB / 1.487 GB, free: 9.316 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/1.068, allocations: 0 / 1.487 GB, free: 9.316 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005023/1.069, allocations: 91.88 kB / 1.487 GB, free: 9.227 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.848e-06/1.069, allocations: 4 kB / 1.487 GB, free: 9.223 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.446e-05/1.069, allocations: 12 kB / 1.487 GB, free: 9.211 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003988/1.069, allocations: 0.59 MB / 1.487 GB, free: 8.598 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/1.069, allocations: 8.062 kB / 1.487 GB, free: 8.59 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/1.07, allocations: 0.7081 MB / 1.488 GB, free: 7.84 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003206/1.071, allocations: 184.7 kB / 1.488 GB, free: 7.641 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.548e-05/1.071, allocations: 15.88 kB / 1.488 GB, free: 7.625 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004031/1.071, allocations: 12 kB / 1.488 GB, free: 7.613 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/1.071, allocations: 23.97 kB / 1.488 GB, free: 7.59 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.643e-05/1.071, allocations: 20.05 kB / 1.488 GB, free: 7.57 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004767/1.072, allocations: 358.8 kB / 1.489 GB, free: 7.223 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.2e-07/1.072, allocations: 4 kB / 1.489 GB, free: 7.219 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001005/1.073, allocations: 351.3 kB / 1.489 GB, free: 6.875 MB / 1.186 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.0005028/1.073, allocations: 197.7 kB / 1.489 GB, free: 6.68 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00136/1.075, allocations: 0.5715 MB / 1.49 GB, free: 6.109 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/1.075, allocations: 0 / 1.49 GB, free: 6.109 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003363/1.075, allocations: 183.9 kB / 1.49 GB, free: 5.93 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00177/1.077, allocations: 352.1 kB / 1.49 GB, free: 5.594 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002494/1.079, allocations: 1.369 MB / 1.492 GB, free: 4.168 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006643/1.08, allocations: 0.9414 MB / 1.492 GB, free: 3.199 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0006605/1.081, allocations: 204.9 kB / 1.493 GB, free: 3 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/1.081, allocations: 51.44 kB / 1.493 GB, free: 2.949 MB / 1.186 GB Notification: Performance of SimCode: time 1.392e-06/1.081, allocations: 3.938 kB / 1.493 GB, free: 2.945 MB / 1.186 GB Notification: Performance of Templates: time 0.02505/1.106, allocations: 12.11 MB / 1.505 GB, free: 7.004 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_MassFraction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.325691722799093]