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.00156/0.00156, allocations: 110.4 kB / 17.08 MB, free: 5.82 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.001603/0.001603, allocations: 193.2 kB / 20.03 MB, free: 2.949 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.456/1.456, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.776/2.776, allocations: 437 MB / 0.7177 GB, free: 4.785 MB / 0.5606 GB " [Timeout remaining time 177] 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=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.002001/0.002001, allocations: 67.83 kB / 1.028 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.341, allocations: 151.6 MB / 1.176 GB, free: 5.879 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.7849/1.126, allocations: 186.8 MB / 1.358 GB, free: 5.059 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008314/1.134, allocations: 4.568 MB / 1.363 GB, free: 1.848 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001142/1.135, allocations: 31.94 kB / 1.363 GB, free: 1.836 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001173/1.137, allocations: 404 kB / 1.363 GB, free: 1.598 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.003534/1.14, allocations: 1.355 MB / 1.364 GB, free: 0.8516 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002133/1.142, allocations: 0.7466 MB / 1.365 GB, free: 480 kB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003075/1.145, allocations: 1.97 MB / 1.367 GB, free: 15.57 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/1.147, allocations: 0.6511 MB / 1.368 GB, free: 15.28 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003155/1.15, allocations: 1.073 MB / 1.369 GB, free: 14.81 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001195/1.151, allocations: 0.5836 MB / 1.369 GB, free: 14.56 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001256/1.151, allocations: 65.75 kB / 1.369 GB, free: 14.56 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002927/1.154, allocations: 1.38 MB / 1.371 GB, free: 14.05 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003666/1.154, allocations: 287.3 kB / 1.371 GB, free: 13.93 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0005979/1.155, allocations: 423.1 kB / 1.371 GB, free: 13.69 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002942/1.158, allocations: 1.482 MB / 1.373 GB, free: 13.14 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/1.158, allocations: 0 / 1.373 GB, free: 13.14 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.144e-06/1.158, allocations: 1.344 kB / 1.373 GB, free: 13.14 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.696e-05/1.158, allocations: 0 / 1.373 GB, free: 13.14 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.001992/1.16, allocations: 1.124 MB / 1.374 GB, free: 12.24 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/1.16, allocations: 9.125 kB / 1.374 GB, free: 12.24 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/1.161, allocations: 209.1 kB / 1.374 GB, free: 12.14 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/1.162, allocations: 0.6212 MB / 1.375 GB, free: 11.63 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.107e-05/1.163, allocations: 48.03 kB / 1.375 GB, free: 11.61 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.879e-05/1.163, allocations: 53.56 kB / 1.375 GB, free: 11.59 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/1.164, allocations: 0.6188 MB / 1.376 GB, free: 11.22 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/1.164, allocations: 0 / 1.376 GB, free: 11.22 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.902e-05/1.164, allocations: 25.47 kB / 1.376 GB, free: 11.2 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.892e-05/1.164, allocations: 31.14 kB / 1.376 GB, free: 11.19 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009856/1.165, allocations: 0.4923 MB / 1.376 GB, free: 10.95 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.003474/1.168, allocations: 2.398 MB / 1.378 GB, free: 8.848 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005804/1.169, allocations: 358.2 kB / 1.379 GB, free: 8.66 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003073/1.169, allocations: 209.1 kB / 1.379 GB, free: 8.559 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005978/1.17, allocations: 311.7 kB / 1.379 GB, free: 8.242 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/1.17, allocations: 40.31 kB / 1.379 GB, free: 8.199 MB / 1.045 GB Notification: Performance of pre-optimization done (n=36): time 2.094e-06/1.17, allocations: 1.188 kB / 1.379 GB, free: 8.199 MB / 1.045 GB Notification: Performance of matching and sorting (n=36): time 0.001149/1.171, allocations: 0.553 MB / 1.38 GB, free: 7.918 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/1.171, allocations: 59.53 kB / 1.38 GB, free: 7.852 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006173/1.172, allocations: 0.4937 MB / 1.38 GB, free: 7.551 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.58e-05/1.172, allocations: 37.02 kB / 1.38 GB, free: 7.512 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002567/1.172, allocations: 321.4 kB / 1.381 GB, free: 7.23 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/1.172, allocations: 138.8 kB / 1.381 GB, free: 7.109 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/1.173, allocations: 82.16 kB / 1.381 GB, free: 7.059 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001955/1.173, allocations: 369.3 kB / 1.381 GB, free: 6.703 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002496/1.173, allocations: 159.2 kB / 1.381 GB, free: 6.613 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003498/1.173, allocations: 255.5 kB / 1.382 GB, free: 6.418 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005678/1.174, allocations: 408.2 kB / 1.382 GB, free: 6.16 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.174, allocations: 1.375 kB / 1.382 GB, free: 6.16 MB / 1.045 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007576/1.175, allocations: 487.4 kB / 1.383 GB, free: 5.91 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/1.175, allocations: 9.438 kB / 1.383 GB, free: 5.906 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/1.175, allocations: 2.75 kB / 1.383 GB, free: 5.906 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/1.175, allocations: 4.125 kB / 1.383 GB, free: 5.906 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005837/1.175, allocations: 116.2 kB / 1.383 GB, free: 5.871 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004696/1.176, allocations: 0.5955 MB / 1.383 GB, free: 5.27 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005564/1.176, allocations: 39.91 kB / 1.383 GB, free: 5.242 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.367e-05/1.176, allocations: 17.03 kB / 1.383 GB, free: 5.238 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004982/1.177, allocations: 330.6 kB / 1.384 GB, free: 5.027 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003457/1.177, allocations: 255.1 kB / 1.384 GB, free: 4.828 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005555/1.178, allocations: 402.4 kB / 1.384 GB, free: 4.574 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.874e-06/1.178, allocations: 0 / 1.384 GB, free: 4.574 MB / 1.045 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007374/1.179, allocations: 492.7 kB / 1.385 GB, free: 4.32 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/1.179, allocations: 5.375 kB / 1.385 GB, free: 4.32 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/1.179, allocations: 2.5 kB / 1.385 GB, free: 4.32 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/1.179, allocations: 13.11 kB / 1.385 GB, free: 4.312 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003375/1.179, allocations: 84.09 kB / 1.385 GB, free: 4.297 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/1.179, allocations: 2.562 kB / 1.385 GB, free: 4.297 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004974/1.18, allocations: 45.05 kB / 1.385 GB, free: 4.266 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.4e-05/1.18, allocations: 17 kB / 1.385 GB, free: 4.262 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.0001913/1.18, allocations: 203.9 kB / 1.385 GB, free: 4.062 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/1.18, allocations: 62 kB / 1.385 GB, free: 4.027 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007452/1.181, allocations: 445.5 kB / 1.386 GB, free: 3.77 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/1.181, allocations: 2.531 kB / 1.386 GB, free: 3.77 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/1.181, allocations: 0 / 1.386 GB, free: 3.77 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006723/1.181, allocations: 0.6637 MB / 1.386 GB, free: 3.18 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/1.183, allocations: 1.201 MB / 1.387 GB, free: 2.293 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/1.183, allocations: 6.5 kB / 1.387 GB, free: 2.289 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000461/1.184, allocations: 92.11 kB / 1.387 GB, free: 2.27 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/1.184, allocations: 2.531 kB / 1.387 GB, free: 2.27 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.674e-05/1.184, allocations: 13.77 kB / 1.387 GB, free: 2.262 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003697/1.184, allocations: 0.5937 MB / 1.388 GB, free: 1.66 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.184, allocations: 2.969 kB / 1.388 GB, free: 1.66 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009086/1.185, allocations: 0.7185 MB / 1.389 GB, free: 1.184 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002518/1.185, allocations: 180.3 kB / 1.389 GB, free: 1.02 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.367e-05/1.185, allocations: 20.98 kB / 1.389 GB, free: 1.004 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00038/1.186, allocations: 15.45 kB / 1.389 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/1.186, allocations: 29.44 kB / 1.389 GB, free: 0.9766 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.957e-05/1.186, allocations: 14.73 kB / 1.389 GB, free: 0.9727 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004139/1.186, allocations: 359.3 kB / 1.389 GB, free: 0.7617 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.01e-07/1.186, allocations: 0 / 1.389 GB, free: 0.7617 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0009291/1.187, allocations: 346.8 kB / 1.39 GB, free: 0.6953 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.0005141/1.188, allocations: 203.3 kB / 1.39 GB, free: 0.5547 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001162/1.189, allocations: 0.5873 MB / 1.39 GB, free: 300 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.189, allocations: 1.125 kB / 1.39 GB, free: 300 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003032/1.189, allocations: 194.2 kB / 1.391 GB, free: 212 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/1.191, allocations: 356 kB / 1.391 GB, free: 16 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/1.193, allocations: 1.405 MB / 1.392 GB, free: 15.04 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005806/1.194, allocations: 0.9407 MB / 1.393 GB, free: 14.22 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/1.194, allocations: 55.95 kB / 1.393 GB, free: 14.2 MB / 1.061 GB Notification: Performance of SimCode: time 5.11e-07/1.194, allocations: 2.719 kB / 1.393 GB, free: 14.2 MB / 1.061 GB Notification: Performance of Templates: time 0.0169/1.211, allocations: 12.68 MB / 1.406 GB, free: 7.559 MB / 1.061 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 13.622792629990727]