Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.001465/0.001465, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.001654/0.001654, allocations: 161.7 kB / 23.55 MB, free: 0.8867 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.523/1.523, allocations: 177.1 MB / 203.9 MB, free: 5.625 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.752/2.752, allocations: 359 MB / 0.6048 GB, free: 10.99 MB / 0.573 GB " [Timeout remaining time 176] 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.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.586e-06/3.586e-06, allocations: 0 / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.346e-05/3.705e-05, allocations: 3.219 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001984/0.002021, allocations: 0.5804 MB / 0.787 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 5.315e-05/0.002074, allocations: 7.938 kB / 0.787 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.695e-05/0.002111, allocations: 4.562 kB / 0.787 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.706e-05/0.002138, allocations: 0 / 0.787 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.226e-05/0.00217, allocations: 1.156 kB / 0.787 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.76e-05/0.002208, allocations: 3.984 kB / 0.787 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.314e-05/0.002271, allocations: 0 / 0.787 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.597e-05/0.002317, allocations: 0.5625 kB / 0.787 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.126e-05/0.002348, allocations: 4 kB / 0.787 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.427e-05/0.002373, allocations: 0.9375 kB / 0.787 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.002388, allocations: 0 / 0.787 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.947e-06/0.002392, allocations: 1.031 kB / 0.787 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.283e-05/0.002404, allocations: 3.938 kB / 0.787 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.266e-05/0.002427, allocations: 0 / 0.787 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 6.467e-05/0.002492, allocations: 8.656 kB / 0.787 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.002494, allocations: 0 / 0.787 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.61e-07/0.002495, allocations: 1.594 kB / 0.787 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.002499, allocations: 0 / 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.0003883/0.002888, allocations: 238.4 kB / 0.7873 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.002932, allocations: 8.031 kB / 0.7873 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.527e-05/0.002978, allocations: 8.344 kB / 0.7873 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.003117, allocations: 105.8 kB / 0.7874 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.003143, allocations: 384 / 0.7874 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.003154, allocations: 4.312 kB / 0.7874 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.00326, allocations: 38.25 kB / 0.7874 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.003268, allocations: 192 / 0.7874 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-06/0.003276, allocations: 384 / 0.7874 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.003283, allocations: 4.359 kB / 0.7874 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.731e-05/0.003301, allocations: 3.938 kB / 0.7874 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003622/0.003663, allocations: 324 kB / 0.7877 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.003786, allocations: 177.1 kB / 0.7879 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.323e-05/0.003839, allocations: 80.73 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.012e-05/0.003889, allocations: 76.78 kB / 0.788 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.241e-05/0.003961, allocations: 109.8 kB / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.003962, allocations: 4 kB / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 8.578e-05/0.004048, allocations: 29.64 kB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.00415, allocations: 131.2 kB / 0.7883 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.004252, allocations: 94.95 kB / 0.7884 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.004273, allocations: 29.7 kB / 0.7884 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.151e-05/0.004325, allocations: 80.14 kB / 0.7885 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-06/0.004326, allocations: 0.75 kB / 0.7885 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-05/0.00435, allocations: 13.66 kB / 0.7885 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.004522, allocations: 311.6 kB / 0.7888 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.254e-06/0.004529, allocations: 4 kB / 0.7888 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.154e-06/0.004532, allocations: 1.281 kB / 0.7888 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.139e-05/0.004573, allocations: 75.28 kB / 0.7889 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.465e-05/0.004618, allocations: 79.27 kB / 0.789 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.256e-05/0.00467, allocations: 30.27 kB / 0.789 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.548e-05/0.004726, allocations: 82.22 kB / 0.7891 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-05/0.004774, allocations: 83.16 kB / 0.7892 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001051/0.004879, allocations: 158.6 kB / 0.7893 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.181e-05/0.004921, allocations: 79.22 kB / 0.7894 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.571e-05/0.005016, allocations: 152.7 kB / 0.7895 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.343e-05/0.0051, allocations: 75.28 kB / 0.7896 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-05/0.005146, allocations: 87.2 kB / 0.7897 GB, free: 9.324 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.0001582/0.005304, allocations: 256.9 kB / 0.7899 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.341e-05/0.005388, allocations: 105 kB / 0.79 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.277e-05/0.005471, allocations: 121.3 kB / 0.7901 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.619e-05/0.005567, allocations: 176.5 kB / 0.7903 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001126/0.005679, allocations: 188.2 kB / 0.7905 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001011/0.005781, allocations: 180.3 kB / 0.7907 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/0.006056, allocations: 353.5 kB / 0.791 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.356e-05/0.006119, allocations: 106.9 kB / 0.7911 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.326e-05/0.006183, allocations: 105 kB / 0.7912 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001078/0.00629, allocations: 180.2 kB / 0.7914 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.492e-05/0.006385, allocations: 180.3 kB / 0.7915 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.703e-05/0.006482, allocations: 180.2 kB / 0.7917 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001007/0.006583, allocations: 188.7 kB / 0.7919 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.006778, allocations: 307.8 kB / 0.7922 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.74e-05/0.006845, allocations: 101.7 kB / 0.7923 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.006972, allocations: 180.3 kB / 0.7925 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.007073, allocations: 114.2 kB / 0.7926 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.007181, allocations: 184.2 kB / 0.7927 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.359e-05/0.007245, allocations: 108.9 kB / 0.7928 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.537e-05/0.00729, allocations: 75.78 kB / 0.7929 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.00729, allocations: 1.031 kB / 0.7929 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002577/0.007548, allocations: 0 / 0.7929 GB, free: 5.82 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.0001729/0.007721, allocations: 175.4 kB / 0.7931 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 4.045e-05/0.007761, allocations: 0.8438 kB / 0.7931 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.007763, allocations: 0 / 0.7931 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.007764, allocations: 0 / 0.7931 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004841/0.008249, allocations: 459.6 kB / 0.7935 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000309/0.008558, allocations: 170.8 kB / 0.7937 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.008773, allocations: 51.36 kB / 0.7937 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.753e-06/0.008775, allocations: 0 / 0.7937 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.39e-05/0.008798, allocations: 8.5 kB / 0.7937 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of SimCode: time 4.01e-07/0.008799, allocations: 2.688 kB / 0.7937 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of Templates: time 0.00231/0.01111, allocations: 172.7 kB / 0.7939 GB, free: 4.75 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.747357269050553]