Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001638/0.00281, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001354/0.002435, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.997/0.997, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1047/1.102, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.834/1.834, allocations: 378.2 MB / 0.6076 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5261/2.36, allocations: 123.3 MB / 0.728 GB, free: 5.824 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bouMoiAir.Xi.[0-9,]+.|bouMoiAirCO2.Xi.[0-9,]+.|bouProFluGas.Xi.[0-9,]+.|bouNatGas.Xi.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in") translateModel(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bouMoiAir.Xi.[0-9,]+.|bouMoiAirCO2.Xi.[0-9,]+.|bouProFluGas.Xi.[0-9,]+.|bouNatGas.Xi.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.7293 GB, free: 4.535 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.157e-05/2.317e-05, allocations: 4.25 kB / 0.7293 GB, free: 4.531 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.1601/0.1601, allocations: 158.6 MB / 0.8842 GB, free: 5.609 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00532/0.1654, allocations: 3.644 MB / 0.8877 GB, free: 1.961 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005053/0.1659, allocations: 63.38 kB / 0.8878 GB, free: 1.898 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0006475/0.1666, allocations: 321.4 kB / 0.8881 GB, free: 1.582 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002199/0.1688, allocations: 1.376 MB / 0.8894 GB, free: 204 kB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.003046/0.1718, allocations: 1.605 MB / 0.891 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001924/0.1738, allocations: 2.348 MB / 0.8933 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009268/0.1747, allocations: 0.8484 MB / 0.8941 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002183/0.1769, allocations: 1.931 MB / 0.896 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006615/0.1775, allocations: 0.5764 MB / 0.8966 GB, free: 8.852 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 9.545e-05/0.1776, allocations: 92 kB / 0.8967 GB, free: 8.762 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002147/0.1798, allocations: 1.332 MB / 0.898 GB, free: 7.426 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003385/0.1801, allocations: 0.5182 MB / 0.8985 GB, free: 6.906 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003663/0.1805, allocations: 427.1 kB / 0.8989 GB, free: 6.488 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001919/0.1824, allocations: 1.877 MB / 0.9007 GB, free: 4.605 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.361e-05/0.1824, allocations: 0 / 0.9007 GB, free: 4.605 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.452e-06/0.1824, allocations: 0 / 0.9007 GB, free: 4.605 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.657e-05/0.1824, allocations: 0 / 0.9007 GB, free: 4.605 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.001647/0.1841, allocations: 1.989 MB / 0.9027 GB, free: 2.582 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.1841, allocations: 15.97 kB / 0.9027 GB, free: 2.566 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.1852, allocations: 0.5779 MB / 0.9032 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008335/0.186, allocations: 0.7854 MB / 0.904 GB, free: 1.152 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.503e-05/0.1861, allocations: 78.06 kB / 0.9041 GB, free: 1.074 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.695e-05/0.1862, allocations: 108 kB / 0.9042 GB, free: 0.9688 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008989/0.187, allocations: 1.32 MB / 0.9055 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.1871, allocations: 0 / 0.9055 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.481e-05/0.1871, allocations: 48 kB / 0.9055 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-05/0.1872, allocations: 65.58 kB / 0.9056 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003587/0.1875, allocations: 363.7 kB / 0.9059 GB, free: 14.94 MB / 0.8855 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.002551/0.1901, allocations: 3.811 MB / 0.9096 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.1903, allocations: 288.7 kB / 0.9099 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.218e-05/0.1904, allocations: 84.2 kB / 0.91 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002319/0.1906, allocations: 129.1 kB / 0.9101 GB, free: 10.44 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.1907, allocations: 42.55 kB / 0.9102 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=28): time 2.094e-06/0.1907, allocations: 0 / 0.9102 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of matching and sorting (n=28): time 0.0004213/0.1911, allocations: 229.3 kB / 0.9104 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.1911, allocations: 140.5 kB / 0.9105 GB, free: 9.992 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003178/0.1915, allocations: 0.5741 MB / 0.9111 GB, free: 9.406 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.1915, allocations: 33.7 kB / 0.9111 GB, free: 9.367 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.1917, allocations: 489.6 kB / 0.9116 GB, free: 8.879 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.567e-05/0.1917, allocations: 99.12 kB / 0.9117 GB, free: 8.781 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.912e-05/0.1918, allocations: 61.66 kB / 0.9117 GB, free: 8.715 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.685e-05/0.1919, allocations: 317.9 kB / 0.912 GB, free: 8.398 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.444e-05/0.1919, allocations: 42.84 kB / 0.9121 GB, free: 8.355 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.192, allocations: 250.8 kB / 0.9123 GB, free: 8.043 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.1922, allocations: 163.1 kB / 0.9125 GB, free: 7.848 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1922, allocations: 4 kB / 0.9125 GB, free: 7.844 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001967/0.1924, allocations: 192.8 kB / 0.9127 GB, free: 7.645 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1924, allocations: 8 kB / 0.9127 GB, free: 7.637 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1924, allocations: 7.984 kB / 0.9127 GB, free: 7.629 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.1924, allocations: 4 kB / 0.9127 GB, free: 7.625 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.1925, allocations: 67.91 kB / 0.9127 GB, free: 7.559 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1925, allocations: 4 kB / 0.9127 GB, free: 7.555 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.1926, allocations: 19.83 kB / 0.9128 GB, free: 7.535 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.1927, allocations: 19.98 kB / 0.9128 GB, free: 7.516 MB / 0.8855 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 (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001368/0.1928, allocations: 140.5 kB / 0.9129 GB, free: 7.367 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.083e-05/0.1929, allocations: 56.03 kB / 0.913 GB, free: 7.312 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002076/0.1931, allocations: 185.9 kB / 0.9132 GB, free: 7.109 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.1931, allocations: 4 kB / 0.9132 GB, free: 7.105 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.1931, allocations: 0 / 0.9132 GB, free: 7.105 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.1931, allocations: 7.984 kB / 0.9132 GB, free: 7.098 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.1943, allocations: 1.361 MB / 0.9145 GB, free: 5.602 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.1943, allocations: 8 kB / 0.9145 GB, free: 5.594 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.1944, allocations: 67.91 kB / 0.9146 GB, free: 5.527 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.176e-05/0.1945, allocations: 91.41 kB / 0.9147 GB, free: 5.438 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.1945, allocations: 11.98 kB / 0.9147 GB, free: 5.426 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.1946, allocations: 12 kB / 0.9147 GB, free: 5.414 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.1946, allocations: 8 kB / 0.9147 GB, free: 5.406 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.1946, allocations: 15.88 kB / 0.9147 GB, free: 5.391 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003016/0.1949, allocations: 409 kB / 0.9151 GB, free: 4.867 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.682e-05/0.1949, allocations: 12 kB / 0.9151 GB, free: 4.855 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.195, allocations: 8 kB / 0.9151 GB, free: 4.848 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.1951, allocations: 43.77 kB / 0.9151 GB, free: 4.805 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.1951, allocations: 12 kB / 0.9152 GB, free: 4.793 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001827/0.1953, allocations: 292.5 kB / 0.9154 GB, free: 4.512 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.1953, allocations: 0 / 0.9154 GB, free: 4.512 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005831/0.1958, allocations: 386.6 kB / 0.9158 GB, free: 4.133 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 simulation (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006003/0.1964, allocations: 409.4 kB / 0.9162 GB, free: 3.727 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001803/0.1966, allocations: 136.4 kB / 0.9163 GB, free: 3.59 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/0.1966, allocations: 12 kB / 0.9163 GB, free: 3.578 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 6.723e-05/0.1967, allocations: 78.08 kB / 0.9164 GB, free: 3.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009578/0.1977, allocations: 0.5511 MB / 0.917 GB, free: 2.969 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006734/0.2044, allocations: 1.939 MB / 0.9188 GB, free: 0.9062 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000189/0.2046, allocations: 277.5 kB / 0.9191 GB, free: 0.6133 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003041/0.2049, allocations: 97.19 kB / 0.9192 GB, free: 0.5195 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005524/0.2054, allocations: 363 kB / 0.9195 GB, free: 160 kB / 0.8855 GB Notification: Performance of SimCode: time 9.52e-07/0.2054, allocations: 4 kB / 0.9196 GB, free: 156 kB / 0.8855 GB Notification: Performance of Templates: time 0.02067/0.2261, allocations: 18.74 MB / 0.9378 GB, free: 13.89 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & ./Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in/Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.559850596822798]