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.001628/0.001628, allocations: 113 kB / 17.6 MB, free: 4.785 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.002129/0.002129, allocations: 186.8 kB / 20.78 MB, free: 1.617 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.574/1.574, allocations: 225.6 MB / 249.4 MB, free: 3.309 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.634/2.634, allocations: 443.4 MB / 0.7304 GB, free: 13.89 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.001996/0.001996, allocations: 67.91 kB / 1.059 GB, free: 356 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3572, allocations: 160.7 MB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 1.121/1.478, allocations: 187.8 MB / 1.4 GB, free: 10.84 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01018/1.488, allocations: 4.594 MB / 1.404 GB, free: 7.125 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001682/1.49, allocations: 31.47 kB / 1.404 GB, free: 7.113 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001447/1.491, allocations: 437.7 kB / 1.404 GB, free: 6.754 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004754/1.496, allocations: 1.389 MB / 1.406 GB, free: 5.691 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002594/1.499, allocations: 0.7635 MB / 1.407 GB, free: 5.117 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003465/1.502, allocations: 1.983 MB / 1.408 GB, free: 3.973 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001001/1.503, allocations: 0.4985 MB / 1.409 GB, free: 3.613 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004374/1.508, allocations: 1.116 MB / 1.41 GB, free: 2.941 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00146/1.509, allocations: 0.626 MB / 1.411 GB, free: 2.57 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000155/1.509, allocations: 65.41 kB / 1.411 GB, free: 2.57 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003504/1.513, allocations: 1.456 MB / 1.412 GB, free: 1.746 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003577/1.513, allocations: 295.4 kB / 1.412 GB, free: 1.547 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005477/1.514, allocations: 418.3 kB / 1.413 GB, free: 1.289 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002696/1.516, allocations: 1.482 MB / 1.414 GB, free: 364 kB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/1.516, allocations: 0 / 1.414 GB, free: 364 kB / 1.076 GB Notification: Performance of FrontEnd: time 1.222e-06/1.516, allocations: 0 / 1.414 GB, free: 364 kB / 1.076 GB Notification: Performance of Transformations before backend: time 1.14e-05/1.516, allocations: 0 / 1.414 GB, free: 364 kB / 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.001908/1.518, allocations: 1.118 MB / 1.415 GB, free: 15.45 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/1.518, allocations: 8.938 kB / 1.415 GB, free: 15.45 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/1.52, allocations: 212.5 kB / 1.416 GB, free: 15.35 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/1.521, allocations: 0.6231 MB / 1.416 GB, free: 14.84 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.105e-05/1.521, allocations: 44 kB / 1.416 GB, free: 14.82 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/1.521, allocations: 55.75 kB / 1.416 GB, free: 14.8 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/1.522, allocations: 0.619 MB / 1.417 GB, free: 14.43 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/1.522, allocations: 3.938 kB / 1.417 GB, free: 14.43 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.284e-05/1.522, allocations: 21.66 kB / 1.417 GB, free: 14.41 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.882e-05/1.522, allocations: 22.28 kB / 1.417 GB, free: 14.41 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008133/1.523, allocations: 0.4924 MB / 1.417 GB, free: 14.17 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.003185/1.526, allocations: 2.402 MB / 1.42 GB, free: 12.07 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006339/1.527, allocations: 346 kB / 1.42 GB, free: 11.88 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002867/1.527, allocations: 203.4 kB / 1.42 GB, free: 11.78 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006289/1.528, allocations: 305 kB / 1.421 GB, free: 11.47 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/1.528, allocations: 40.92 kB / 1.421 GB, free: 11.43 MB / 1.092 GB Notification: Performance of pre-optimization done (n=36): time 3.586e-06/1.528, allocations: 4 kB / 1.421 GB, free: 11.42 MB / 1.092 GB Notification: Performance of matching and sorting (n=36): time 0.001164/1.529, allocations: 0.5561 MB / 1.421 GB, free: 11.14 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/1.529, allocations: 57.98 kB / 1.421 GB, free: 11.07 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000609/1.53, allocations: 0.4973 MB / 1.422 GB, free: 10.77 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.309e-05/1.53, allocations: 32.58 kB / 1.422 GB, free: 10.73 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002678/1.53, allocations: 326.4 kB / 1.422 GB, free: 10.45 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/1.53, allocations: 137.6 kB / 1.422 GB, free: 10.33 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/1.53, allocations: 84.08 kB / 1.422 GB, free: 10.28 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002071/1.53, allocations: 367.8 kB / 1.423 GB, free: 9.922 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/1.531, allocations: 148.1 kB / 1.423 GB, free: 9.844 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003643/1.531, allocations: 264.4 kB / 1.423 GB, free: 9.641 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005764/1.531, allocations: 415.6 kB / 1.423 GB, free: 9.375 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.531, allocations: 0 / 1.423 GB, free: 9.375 MB / 1.092 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007337/1.532, allocations: 488.7 kB / 1.424 GB, free: 9.125 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/1.532, allocations: 15.19 kB / 1.424 GB, free: 9.117 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/1.532, allocations: 2.594 kB / 1.424 GB, free: 9.117 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/1.532, allocations: 5.062 kB / 1.424 GB, free: 9.117 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005419/1.533, allocations: 95.95 kB / 1.424 GB, free: 9.098 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004693/1.533, allocations: 0.5975 MB / 1.425 GB, free: 8.496 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004703/1.534, allocations: 44.86 kB / 1.425 GB, free: 8.465 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.466e-05/1.534, allocations: 22.42 kB / 1.425 GB, free: 8.457 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004523/1.534, allocations: 326.2 kB / 1.425 GB, free: 8.25 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003331/1.535, allocations: 256 kB / 1.425 GB, free: 8.055 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005632/1.535, allocations: 402.8 kB / 1.426 GB, free: 7.797 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.655e-06/1.535, allocations: 2.094 kB / 1.426 GB, free: 7.797 MB / 1.092 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007067/1.536, allocations: 484.5 kB / 1.426 GB, free: 7.547 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/1.536, allocations: 7.625 kB / 1.426 GB, free: 7.547 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/1.536, allocations: 7.156 kB / 1.426 GB, free: 7.543 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.22e-06/1.536, allocations: 6.438 kB / 1.426 GB, free: 7.539 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003352/1.536, allocations: 92.39 kB / 1.426 GB, free: 7.516 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/1.536, allocations: 5.031 kB / 1.426 GB, free: 7.516 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004201/1.537, allocations: 32.5 kB / 1.426 GB, free: 7.496 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-05/1.537, allocations: 20.39 kB / 1.426 GB, free: 7.488 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.0001728/1.537, allocations: 206 kB / 1.426 GB, free: 7.289 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/1.537, allocations: 63.31 kB / 1.426 GB, free: 7.254 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007967/1.538, allocations: 453.7 kB / 1.427 GB, free: 6.988 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/1.538, allocations: 2.125 kB / 1.427 GB, free: 6.988 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.538, allocations: 0 / 1.427 GB, free: 6.988 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000721/1.538, allocations: 0.6501 MB / 1.428 GB, free: 6.41 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/1.54, allocations: 1.212 MB / 1.429 GB, free: 5.344 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/1.54, allocations: 4 kB / 1.429 GB, free: 5.34 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004571/1.541, allocations: 93.3 kB / 1.429 GB, free: 5.25 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/1.541, allocations: 0 / 1.429 GB, free: 5.25 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.505e-05/1.541, allocations: 12 kB / 1.429 GB, free: 5.238 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004115/1.541, allocations: 0.594 MB / 1.429 GB, free: 4.621 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.541, allocations: 0 / 1.429 GB, free: 4.621 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009915/1.542, allocations: 0.7294 MB / 1.43 GB, free: 3.855 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002351/1.542, allocations: 176.7 kB / 1.43 GB, free: 3.664 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.667e-05/1.543, allocations: 11.94 kB / 1.43 GB, free: 3.652 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003611/1.543, allocations: 18.64 kB / 1.43 GB, free: 3.637 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.419e-05/1.543, allocations: 27.95 kB / 1.43 GB, free: 3.609 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.453e-05/1.543, allocations: 22.62 kB / 1.43 GB, free: 3.59 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004452/1.543, allocations: 358.8 kB / 1.431 GB, free: 3.242 MB / 1.092 GB Notification: Performance of sort global known variables: time 8e-08/1.543, allocations: 0 / 1.431 GB, free: 3.242 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00097/1.544, allocations: 347.3 kB / 1.431 GB, free: 2.902 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.0005347/1.545, allocations: 197.5 kB / 1.431 GB, free: 2.711 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001207/1.546, allocations: 0.555 MB / 1.432 GB, free: 2.156 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/1.546, allocations: 8.125 kB / 1.432 GB, free: 2.148 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003126/1.546, allocations: 180.7 kB / 1.432 GB, free: 1.973 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/1.548, allocations: 365.3 kB / 1.432 GB, free: 1.625 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/1.55, allocations: 1.363 MB / 1.434 GB, free: 212 kB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006742/1.551, allocations: 0.9453 MB / 1.435 GB, free: 15.23 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0005935/1.552, allocations: 196.9 kB / 1.435 GB, free: 15.04 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/1.552, allocations: 51.42 kB / 1.435 GB, free: 14.99 MB / 1.107 GB Notification: Performance of SimCode: time 1.232e-06/1.552, allocations: 0 / 1.435 GB, free: 14.99 MB / 1.107 GB Notification: Performance of Templates: time 0.02309/1.575, allocations: 12.09 MB / 1.447 GB, free: 3.086 MB / 1.107 GB " [Timeout remaining time 298] 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: 10.128899647854269]