Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.001451/0.001451, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.001725/0.001725, allocations: 161.7 kB / 23.54 MB, free: 0.8906 MB / 18.57 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 1.544/1.544, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.785/2.785, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.096e-06/3.096e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.475e-05/4.785e-05, allocations: 10.25 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.002296/0.002344, allocations: 0.5617 MB / 0.7869 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 5.352e-05/0.002397, allocations: 4 kB / 0.7869 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.237e-05/0.00243, allocations: 0.5625 kB / 0.7869 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.946e-05/0.002459, allocations: 0.9375 kB / 0.7869 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.613e-05/0.002495, allocations: 0 / 0.7869 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.675e-05/0.002532, allocations: 0 / 0.7869 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.477e-05/0.002597, allocations: 1.125 kB / 0.7869 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 5.326e-05/0.00265, allocations: 4 kB / 0.7869 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.648e-05/0.002686, allocations: 3.938 kB / 0.787 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.783e-05/0.002714, allocations: 0.8438 kB / 0.787 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.00273, allocations: 0 / 0.787 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.749e-06/0.002735, allocations: 0.75 kB / 0.787 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/0.002752, allocations: 3.984 kB / 0.787 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.171e-05/0.002783, allocations: 9.25 kB / 0.787 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 6.533e-05/0.002849, allocations: 3.984 kB / 0.787 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.002851, allocations: 0 / 0.787 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.81e-07/0.002852, allocations: 0 / 0.787 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.002857, allocations: 1.438 kB / 0.787 GB, free: 12.21 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004085/0.003265, allocations: 238.4 kB / 0.7872 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.003313, allocations: 8.031 kB / 0.7872 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.003359, allocations: 4.938 kB / 0.7872 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.003506, allocations: 110.9 kB / 0.7873 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.00352, allocations: 384 / 0.7873 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.433e-06/0.003528, allocations: 1 kB / 0.7873 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.954e-05/0.003627, allocations: 30.27 kB / 0.7873 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.003637, allocations: 1.594 kB / 0.7873 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.003645, allocations: 384 / 0.7873 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.00365, allocations: 384 / 0.7873 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.037e-05/0.00367, allocations: 4.969 kB / 0.7874 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004331/0.004104, allocations: 335.1 kB / 0.7877 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.004252, allocations: 169.1 kB / 0.7878 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.242e-05/0.004315, allocations: 81.08 kB / 0.7879 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.811e-05/0.004373, allocations: 75.28 kB / 0.788 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.881e-05/0.004462, allocations: 110.9 kB / 0.7881 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.004463, allocations: 3.938 kB / 0.7881 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 0.0001042/0.004567, allocations: 33.58 kB / 0.7881 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.004673, allocations: 128.3 kB / 0.7882 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.004806, allocations: 97.86 kB / 0.7883 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.00483, allocations: 25.7 kB / 0.7884 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.384e-05/0.004894, allocations: 80.14 kB / 0.7884 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.004895, allocations: 1.188 kB / 0.7884 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.004937, allocations: 13.7 kB / 0.7885 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002141/0.005151, allocations: 314.8 kB / 0.7888 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.641e-06/0.005157, allocations: 1.594 kB / 0.7888 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.825e-06/0.00516, allocations: 0 / 0.7888 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.41e-05/0.005214, allocations: 75.28 kB / 0.7888 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-05/0.005264, allocations: 75.28 kB / 0.7889 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0) (initialization): time 8.481e-05/0.005349, allocations: 34.92 kB / 0.7889 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.35e-05/0.005423, allocations: 84.84 kB / 0.789 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-05/0.005479, allocations: 79.22 kB / 0.7891 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001226/0.005602, allocations: 158.5 kB / 0.7892 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.51e-05/0.005657, allocations: 78.25 kB / 0.7893 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000115/0.005772, allocations: 155.2 kB / 0.7895 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.005896, allocations: 83.22 kB / 0.7895 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.675e-05/0.005953, allocations: 79.28 kB / 0.7896 GB, free: 9.332 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0002086/0.006162, allocations: 264.4 kB / 0.7899 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.006273, allocations: 104.9 kB / 0.79 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.316e-05/0.006366, allocations: 112 kB / 0.7901 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001339/0.0065, allocations: 185.2 kB / 0.7903 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001246/0.006624, allocations: 180.2 kB / 0.7904 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001227/0.006747, allocations: 181 kB / 0.7906 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/0.007105, allocations: 360.8 kB / 0.7909 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.421e-05/0.00718, allocations: 101.5 kB / 0.791 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.05e-05/0.00725, allocations: 102.3 kB / 0.7911 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001315/0.007382, allocations: 184.2 kB / 0.7913 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001233/0.007505, allocations: 176.3 kB / 0.7915 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001396/0.007645, allocations: 188.7 kB / 0.7917 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001282/0.007773, allocations: 184.2 kB / 0.7918 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.008014, allocations: 305.1 kB / 0.7921 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.647e-05/0.00809, allocations: 101 kB / 0.7922 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/0.008233, allocations: 192.2 kB / 0.7924 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.008381, allocations: 114.1 kB / 0.7925 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.008517, allocations: 184.2 kB / 0.7927 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.477e-05/0.008592, allocations: 101 kB / 0.7928 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.157e-05/0.008654, allocations: 76.41 kB / 0.7929 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.008654, allocations: 0 / 0.7929 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004375/0.009091, allocations: 3.953 kB / 0.7929 GB, free: 5.824 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0002121/0.009303, allocations: 176.3 kB / 0.793 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 4.99e-05/0.009353, allocations: 4 kB / 0.793 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.009355, allocations: 0 / 0.793 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.929e-06/0.00936, allocations: 4.594 kB / 0.793 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006444/0.01, allocations: 460.7 kB / 0.7935 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003355/0.01034, allocations: 155 kB / 0.7936 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.911e-05/0.01042, allocations: 55.36 kB / 0.7937 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.034e-06/0.01042, allocations: 0 / 0.7937 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.234e-05/0.01045, allocations: 8.5 kB / 0.7937 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of SimCode: time 3.91e-07/0.01045, allocations: 0 / 0.7937 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of Templates: time 0.002761/0.01321, allocations: 165.8 kB / 0.7938 GB, free: 4.766 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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: 7.883532296982594]