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.001268/0.001268, allocations: 118 kB / 17.13 MB, free: 5.941 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.001261/0.001261, allocations: 197.2 kB / 20.08 MB, free: 3.008 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.429/1.429, allocations: 225.6 MB / 248.5 MB, free: 3.625 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.588/2.588, allocations: 443.5 MB / 0.7293 GB, free: 14.63 MB / 0.5762 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.001931/0.001931, allocations: 67.91 kB / 1.057 GB, free: 2.043 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3521, allocations: 160.7 MB / 1.214 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.8762/1.228, allocations: 187.4 MB / 1.397 GB, free: 12.29 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008415/1.237, allocations: 4.58 MB / 1.402 GB, free: 8.574 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/1.238, allocations: 31.09 kB / 1.402 GB, free: 8.562 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001323/1.239, allocations: 425.8 kB / 1.402 GB, free: 8.215 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004153/1.243, allocations: 1.401 MB / 1.403 GB, free: 7.141 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002353/1.246, allocations: 0.7598 MB / 1.404 GB, free: 6.57 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00326/1.249, allocations: 1.959 MB / 1.406 GB, free: 5.449 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001056/1.25, allocations: 0.554 MB / 1.407 GB, free: 5.078 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003519/1.254, allocations: 1.126 MB / 1.408 GB, free: 4.402 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/1.255, allocations: 0.6155 MB / 1.408 GB, free: 4.039 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001382/1.255, allocations: 64.72 kB / 1.408 GB, free: 4.039 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003196/1.258, allocations: 1.457 MB / 1.41 GB, free: 3.215 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004222/1.259, allocations: 299 kB / 1.41 GB, free: 3.012 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006515/1.259, allocations: 417.3 kB / 1.41 GB, free: 2.754 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002674/1.262, allocations: 1.474 MB / 1.412 GB, free: 1.828 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/1.262, allocations: 0 / 1.412 GB, free: 1.828 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.853e-06/1.262, allocations: 0 / 1.412 GB, free: 1.828 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.418e-05/1.262, allocations: 0 / 1.412 GB, free: 1.828 MB / 1.076 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.001891/1.264, allocations: 1.127 MB / 1.413 GB, free: 0.918 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/1.264, allocations: 11.16 kB / 1.413 GB, free: 0.9141 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/1.265, allocations: 213.6 kB / 1.413 GB, free: 0.8125 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/1.266, allocations: 0.614 MB / 1.414 GB, free: 320 kB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.621e-05/1.266, allocations: 38.81 kB / 1.414 GB, free: 304 kB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.844e-05/1.267, allocations: 56.84 kB / 1.414 GB, free: 288 kB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/1.268, allocations: 0.6273 MB / 1.415 GB, free: 15.89 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/1.268, allocations: 3.984 kB / 1.415 GB, free: 15.89 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.084e-05/1.268, allocations: 24.69 kB / 1.415 GB, free: 15.87 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.64e-05/1.268, allocations: 19.69 kB / 1.415 GB, free: 15.87 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007811/1.268, allocations: 499.3 kB / 1.415 GB, free: 15.64 MB / 1.092 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.003237/1.272, allocations: 2.406 MB / 1.417 GB, free: 13.53 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006201/1.272, allocations: 347.5 kB / 1.418 GB, free: 13.34 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003143/1.273, allocations: 208.9 kB / 1.418 GB, free: 13.24 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006121/1.273, allocations: 300.7 kB / 1.418 GB, free: 12.93 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/1.273, allocations: 33.44 kB / 1.418 GB, free: 12.89 MB / 1.092 GB Notification: Performance of pre-optimization done (n=36): time 2.194e-06/1.273, allocations: 0 / 1.418 GB, free: 12.89 MB / 1.092 GB Notification: Performance of matching and sorting (n=36): time 0.0012/1.274, allocations: 0.557 MB / 1.419 GB, free: 12.61 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/1.275, allocations: 60.53 kB / 1.419 GB, free: 12.54 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006014/1.275, allocations: 0.5055 MB / 1.419 GB, free: 12.23 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.357e-05/1.275, allocations: 36.48 kB / 1.419 GB, free: 12.19 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002748/1.275, allocations: 315.8 kB / 1.42 GB, free: 11.91 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/1.276, allocations: 136.5 kB / 1.42 GB, free: 11.8 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/1.276, allocations: 85.69 kB / 1.42 GB, free: 11.74 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002033/1.276, allocations: 371.1 kB / 1.42 GB, free: 11.38 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002469/1.276, allocations: 151.7 kB / 1.42 GB, free: 11.3 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003531/1.277, allocations: 261.2 kB / 1.421 GB, free: 11.1 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005704/1.277, allocations: 406.8 kB / 1.421 GB, free: 10.84 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/1.277, allocations: 2.094 kB / 1.421 GB, free: 10.84 MB / 1.092 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000775/1.278, allocations: 486.2 kB / 1.421 GB, free: 10.59 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/1.278, allocations: 11.19 kB / 1.422 GB, free: 10.59 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/1.278, allocations: 6.828 kB / 1.422 GB, free: 10.59 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/1.278, allocations: 5.062 kB / 1.422 GB, free: 10.59 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005658/1.279, allocations: 95.95 kB / 1.422 GB, free: 10.57 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004709/1.279, allocations: 0.5999 MB / 1.422 GB, free: 9.961 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005303/1.28, allocations: 44.06 kB / 1.422 GB, free: 9.93 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.764e-05/1.28, allocations: 16.94 kB / 1.422 GB, free: 9.926 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004731/1.28, allocations: 331.9 kB / 1.423 GB, free: 9.715 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003298/1.28, allocations: 255.3 kB / 1.423 GB, free: 9.523 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005703/1.281, allocations: 411.1 kB / 1.423 GB, free: 9.262 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.983e-06/1.281, allocations: 0 / 1.423 GB, free: 9.262 MB / 1.092 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007379/1.282, allocations: 481 kB / 1.424 GB, free: 9.016 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/1.282, allocations: 7.875 kB / 1.424 GB, free: 9.016 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/1.282, allocations: 2.125 kB / 1.424 GB, free: 9.016 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/1.282, allocations: 6.469 kB / 1.424 GB, free: 9.012 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003496/1.282, allocations: 92.75 kB / 1.424 GB, free: 8.992 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/1.282, allocations: 8.531 kB / 1.424 GB, free: 8.988 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004851/1.283, allocations: 40.86 kB / 1.424 GB, free: 8.961 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/1.283, allocations: 16.94 kB / 1.424 GB, free: 8.957 MB / 1.092 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.0002018/1.283, allocations: 205.5 kB / 1.424 GB, free: 8.758 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/1.283, allocations: 63.44 kB / 1.424 GB, free: 8.723 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007773/1.284, allocations: 444.8 kB / 1.425 GB, free: 8.461 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/1.284, allocations: 8.625 kB / 1.425 GB, free: 8.457 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.284, allocations: 0 / 1.425 GB, free: 8.457 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006958/1.284, allocations: 0.6559 MB / 1.425 GB, free: 7.875 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00186/1.286, allocations: 1.208 MB / 1.426 GB, free: 6.98 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/1.286, allocations: 3.281 kB / 1.426 GB, free: 6.98 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004947/1.287, allocations: 98.67 kB / 1.426 GB, free: 6.953 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.323e-06/1.287, allocations: 2.719 kB / 1.426 GB, free: 6.953 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.209e-05/1.287, allocations: 9.031 kB / 1.426 GB, free: 6.949 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004032/1.287, allocations: 0.5929 MB / 1.427 GB, free: 6.348 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/1.287, allocations: 6.531 kB / 1.427 GB, free: 6.344 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/1.288, allocations: 0.7163 MB / 1.428 GB, free: 5.695 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002716/1.288, allocations: 176.7 kB / 1.428 GB, free: 5.504 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.921e-05/1.289, allocations: 23.83 kB / 1.428 GB, free: 5.48 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003844/1.289, allocations: 15.98 kB / 1.428 GB, free: 5.465 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.032e-05/1.289, allocations: 23.92 kB / 1.428 GB, free: 5.441 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/1.289, allocations: 15.98 kB / 1.428 GB, free: 5.426 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005075/1.29, allocations: 358.8 kB / 1.428 GB, free: 5.078 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.2e-07/1.29, allocations: 0 / 1.428 GB, free: 5.078 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001055/1.291, allocations: 347.4 kB / 1.429 GB, free: 4.738 MB / 1.092 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.0005174/1.291, allocations: 196.3 kB / 1.429 GB, free: 4.551 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001293/1.292, allocations: 0.5667 MB / 1.429 GB, free: 3.984 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/1.292, allocations: 4.062 kB / 1.429 GB, free: 3.98 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003521/1.293, allocations: 180.5 kB / 1.43 GB, free: 3.805 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/1.295, allocations: 354.2 kB / 1.43 GB, free: 3.465 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002659/1.297, allocations: 1.41 MB / 1.431 GB, free: 1.996 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006705/1.298, allocations: 0.9375 MB / 1.432 GB, free: 1.031 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/1.298, allocations: 59.42 kB / 1.432 GB, free: 0.9727 MB / 1.092 GB Notification: Performance of SimCode: time 1.673e-06/1.298, allocations: 0 / 1.432 GB, free: 0.9727 MB / 1.092 GB Notification: Performance of Templates: time 0.02021/1.318, allocations: 12.74 MB / 1.445 GB, free: 4.312 MB / 1.107 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.915552540915087]