Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.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.001972/0.001972, 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.002756/0.002756, allocations: 161.7 kB / 23.55 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.503/1.503, allocations: 177.1 MB / 203.9 MB, free: 5.59 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.801/2.801, allocations: 359 MB / 0.6048 GB, free: 10.94 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.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.875e-06/2.875e-06, allocations: 0 / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.958e-05/5.246e-05, allocations: 3.297 kB / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.002272/0.002325, allocations: 0.6152 MB / 0.787 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.003573, allocations: 0.8127 MB / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.124e-05/0.003604, allocations: 1.156 kB / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.016e-05/0.003635, allocations: 3.938 kB / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.299e-05/0.003698, allocations: 0 / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.836e-05/0.003746, allocations: 4.562 kB / 0.7878 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.042e-05/0.003826, allocations: 23.91 kB / 0.7878 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.759e-05/0.003874, allocations: 4.938 kB / 0.7879 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.804e-05/0.003972, allocations: 15.92 kB / 0.7879 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.209e-05/0.004004, allocations: 1.062 kB / 0.7879 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.004025, allocations: 4 kB / 0.7879 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.079e-06/0.004031, allocations: 0 / 0.7879 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.00405, allocations: 8.641 kB / 0.7879 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.427e-05/0.004074, allocations: 0 / 0.7879 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.009e-05/0.004154, allocations: 21.38 kB / 0.7879 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.004157, allocations: 0 / 0.7879 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.82e-07/0.004158, allocations: 0 / 0.7879 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.004162, allocations: 4 kB / 0.7879 GB, free: 11.25 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.000475/0.004637, allocations: 255.9 kB / 0.7881 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.004678, allocations: 11.97 kB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.997e-05/0.004718, allocations: 0.9375 kB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.004846, allocations: 117.1 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.004869, allocations: 384 / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-06/0.004878, allocations: 384 / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.005057, allocations: 46.25 kB / 0.7883 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.005065, allocations: 192 / 0.7883 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.005073, allocations: 384 / 0.7883 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.005077, allocations: 384 / 0.7883 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.005238, allocations: 36.73 kB / 0.7884 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000166/0.005404, allocations: 97.36 kB / 0.7884 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.005564, allocations: 36.47 kB / 0.7885 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.853e-05/0.005653, allocations: 20.89 kB / 0.7885 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.005666, allocations: 0 / 0.7885 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/0.005706, allocations: 35.19 kB / 0.7885 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 7.42e-07/0.005707, allocations: 0 / 0.7885 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0003751/0.006082, allocations: 75.47 kB / 0.7886 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.006135, allocations: 60.05 kB / 0.7887 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.006238, allocations: 101.8 kB / 0.7888 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.006259, allocations: 26.98 kB / 0.7888 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.481e-05/0.006324, allocations: 84.14 kB / 0.7889 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.004e-05/0.006364, allocations: 7.953 kB / 0.7889 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.2e-05/0.006406, allocations: 10.25 kB / 0.7889 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.00658, allocations: 314.8 kB / 0.7892 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.233e-05/0.006662, allocations: 17.39 kB / 0.7892 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.869e-05/0.006731, allocations: 15.98 kB / 0.7892 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.006893, allocations: 34.36 kB / 0.7892 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.006895, allocations: 2.719 kB / 0.7893 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002052/0.0071, allocations: 65.59 kB / 0.7893 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.007117, allocations: 4 kB / 0.7893 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.007122, allocations: 0 / 0.7893 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.007143, allocations: 0 / 0.7893 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.55e-05/0.007238, allocations: 13.55 kB / 0.7893 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.007245, allocations: 0 / 0.7893 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.194e-05/0.007297, allocations: 7.938 kB / 0.7893 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.007306, allocations: 7.922 kB / 0.7893 GB, free: 9.621 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 (1): * Single equations (assignments): 1 * 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 9.302e-05/0.007399, allocations: 106.9 kB / 0.7894 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.31e-05/0.007412, allocations: 4 kB / 0.7895 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.374e-05/0.007436, allocations: 8.562 kB / 0.7895 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.007437, allocations: 0 / 0.7895 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.007442, allocations: 0 / 0.7895 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.007447, allocations: 3.938 kB / 0.7895 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.007559, allocations: 101.9 kB / 0.7896 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.00756, allocations: 1.969 kB / 0.7896 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.434e-05/0.007615, allocations: 4 kB / 0.7896 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.007618, allocations: 0 / 0.7896 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.007627, allocations: 4 kB / 0.7896 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.007631, allocations: 3.984 kB / 0.7896 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.007632, allocations: 4.531 kB / 0.7896 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.007878, allocations: 86.2 kB / 0.7897 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.147e-05/0.00789, allocations: 4.984 kB / 0.7897 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.007913, allocations: 7.984 kB / 0.7897 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.346e-05/0.007956, allocations: 4 kB / 0.7897 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.008002, allocations: 4.906 kB / 0.7897 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.008005, allocations: 0 / 0.7897 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.31e-05/0.008068, allocations: 84.11 kB / 0.7898 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008068, allocations: 0 / 0.7898 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000187/0.008255, allocations: 3.938 kB / 0.7898 GB, free: 9.141 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 (1): * Single equations (assignments): 1 * 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.0001481/0.008403, allocations: 97.47 kB / 0.7899 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002302/0.008634, allocations: 35.95 kB / 0.7899 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.008635, allocations: 1.125 kB / 0.7899 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.281e-05/0.008718, allocations: 20.95 kB / 0.7899 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.008991, allocations: 9.484 kB / 0.7899 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003611/0.009352, allocations: 93.95 kB / 0.79 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.599e-05/0.009448, allocations: 55.36 kB / 0.7901 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.113e-05/0.009479, allocations: 1.625 kB / 0.7901 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.653e-05/0.009525, allocations: 8.5 kB / 0.7901 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of SimCode: time 7.51e-07/0.009526, allocations: 0 / 0.7901 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of Templates: time 0.003167/0.01269, allocations: 476.3 kB / 0.7905 GB, free: 8.324 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.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.75788237596862]