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.001858/0.001858, allocations: 78.95 kB / 19.76 MB, free: 2.035 MB / 14.72 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.003346/0.003346, allocations: 159.2 kB / 23.01 MB, free: 4.941 MB / 14.72 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.576/1.576, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.777/2.777, allocations: 359.1 MB / 0.6044 GB, free: 14.84 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002369/0.002369, allocations: 63.89 kB / 0.9515 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3335, allocations: 169.9 MB / 1.117 GB, free: 2.496 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.00205/0.3355, allocations: 0.6001 MB / 1.118 GB, free: 1.898 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.3366, allocations: 0.8121 MB / 1.119 GB, free: 1.074 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.362e-05/0.3366, allocations: 4 kB / 1.119 GB, free: 1.07 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.786e-05/0.3367, allocations: 3.938 kB / 1.119 GB, free: 1.066 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.726e-05/0.3367, allocations: 0 / 1.119 GB, free: 1.066 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.243e-05/0.3368, allocations: 0 / 1.119 GB, free: 1.066 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.337e-05/0.3368, allocations: 27.86 kB / 1.119 GB, free: 1.039 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.834e-05/0.3369, allocations: 0 / 1.119 GB, free: 1.039 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.762e-05/0.337, allocations: 7.984 kB / 1.119 GB, free: 1.031 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.702e-05/0.337, allocations: 7.984 kB / 1.119 GB, free: 1.023 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.337, allocations: 8 kB / 1.119 GB, free: 1.016 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.601e-06/0.337, allocations: 0 / 1.119 GB, free: 1.016 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.779e-05/0.337, allocations: 3.938 kB / 1.119 GB, free: 1.012 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.484e-05/0.3371, allocations: 8 kB / 1.119 GB, free: 1.004 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 7.639e-05/0.3371, allocations: 19.84 kB / 1.119 GB, free: 0.9844 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.3371, allocations: 0 / 1.119 GB, free: 0.9844 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3371, allocations: 0 / 1.119 GB, free: 0.9844 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.3372, allocations: 0 / 1.119 GB, free: 0.9844 MB / 1.061 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.0004554/0.3376, allocations: 258.3 kB / 1.119 GB, free: 0.6992 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.3377, allocations: 8.031 kB / 1.119 GB, free: 0.6914 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.948e-05/0.3377, allocations: 8.938 kB / 1.119 GB, free: 0.6836 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.3378, allocations: 106.5 kB / 1.119 GB, free: 0.5547 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.846e-06/0.3378, allocations: 4.312 kB / 1.119 GB, free: 0.5508 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.3378, allocations: 384 / 1.119 GB, free: 0.5508 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.338, allocations: 50.23 kB / 1.119 GB, free: 0.4961 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.338, allocations: 192 / 1.119 GB, free: 0.4961 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.338, allocations: 3.938 kB / 1.119 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.338, allocations: 0 / 1.119 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/0.3382, allocations: 31.97 kB / 1.119 GB, free: 472 kB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001509/0.3383, allocations: 101.3 kB / 1.119 GB, free: 340 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.3385, allocations: 34.53 kB / 1.12 GB, free: 296 kB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.185e-05/0.3385, allocations: 16.91 kB / 1.12 GB, free: 276 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.3386, allocations: 7.984 kB / 1.12 GB, free: 268 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.3386, allocations: 34.56 kB / 1.12 GB, free: 224 kB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.3386, allocations: 0 / 1.12 GB, free: 224 kB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0003385/0.3389, allocations: 85.53 kB / 1.12 GB, free: 132 kB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.339, allocations: 51.41 kB / 1.12 GB, free: 68 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.3391, allocations: 105.8 kB / 1.12 GB, free: 15.95 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.3391, allocations: 25.7 kB / 1.12 GB, free: 15.92 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.015e-05/0.3391, allocations: 84.14 kB / 1.12 GB, free: 15.84 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.3392, allocations: 0 / 1.12 GB, free: 15.84 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.3392, allocations: 9.719 kB / 1.12 GB, free: 15.82 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.3394, allocations: 314.8 kB / 1.12 GB, free: 15.5 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.178e-05/0.3394, allocations: 16.11 kB / 1.12 GB, free: 15.49 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.246e-05/0.3395, allocations: 19.97 kB / 1.12 GB, free: 15.47 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.3397, allocations: 32.83 kB / 1.12 GB, free: 15.43 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3397, allocations: 0 / 1.12 GB, free: 15.43 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001963/0.3399, allocations: 61.66 kB / 1.12 GB, free: 15.37 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.3399, allocations: 4.094 kB / 1.12 GB, free: 15.36 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3399, allocations: 4 kB / 1.12 GB, free: 15.36 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.3399, allocations: 7.875 kB / 1.12 GB, free: 15.35 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.802e-05/0.34, allocations: 11.94 kB / 1.12 GB, free: 15.34 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.34, allocations: 0 / 1.12 GB, free: 15.34 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.013e-05/0.34, allocations: 7.984 kB / 1.12 GB, free: 15.33 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.34, allocations: 0 / 1.12 GB, free: 15.33 MB / 1.076 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 7.905e-05/0.3401, allocations: 105.8 kB / 1.12 GB, free: 15.22 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.174e-05/0.3401, allocations: 7.953 kB / 1.12 GB, free: 15.21 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.221e-05/0.3402, allocations: 7.156 kB / 1.121 GB, free: 15.2 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.3402, allocations: 11.92 kB / 1.121 GB, free: 15.19 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.3402, allocations: 4 kB / 1.121 GB, free: 15.19 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.3402, allocations: 0 / 1.121 GB, free: 15.19 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.043e-05/0.3403, allocations: 97.33 kB / 1.121 GB, free: 15.06 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3403, allocations: 0 / 1.121 GB, free: 15.06 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.42e-05/0.3403, allocations: 7.984 kB / 1.121 GB, free: 15.05 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3403, allocations: 3.938 kB / 1.121 GB, free: 15.05 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.3403, allocations: 0 / 1.121 GB, free: 15.05 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3403, allocations: 0 / 1.121 GB, free: 15.05 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3403, allocations: 7.938 kB / 1.121 GB, free: 15.04 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002165/0.3405, allocations: 93.03 kB / 1.121 GB, free: 14.93 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.633e-06/0.3405, allocations: 0 / 1.121 GB, free: 14.93 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.3406, allocations: 0 / 1.121 GB, free: 14.93 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.237e-05/0.3406, allocations: 7.984 kB / 1.121 GB, free: 14.93 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.3406, allocations: 7.938 kB / 1.121 GB, free: 14.92 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-06/0.3406, allocations: 0 / 1.121 GB, free: 14.92 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.704e-05/0.3407, allocations: 79.28 kB / 1.121 GB, free: 14.84 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3407, allocations: 0 / 1.121 GB, free: 14.84 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001814/0.3409, allocations: 4 kB / 1.121 GB, free: 14.84 MB / 1.076 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.0001121/0.341, allocations: 103.3 kB / 1.121 GB, free: 14.73 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002045/0.3412, allocations: 27.97 kB / 1.121 GB, free: 14.7 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.3412, allocations: 4 kB / 1.121 GB, free: 14.7 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.623e-05/0.3413, allocations: 11.98 kB / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.3415, allocations: 7.984 kB / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002987/0.3418, allocations: 105.5 kB / 1.121 GB, free: 14.55 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.669e-05/0.3419, allocations: 59.34 kB / 1.121 GB, free: 14.47 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.096e-05/0.3419, allocations: 0 / 1.121 GB, free: 14.47 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.522e-05/0.3419, allocations: 12.44 kB / 1.121 GB, free: 14.46 MB / 1.076 GB Notification: Performance of SimCode: time 4.11e-07/0.3419, allocations: 0 / 1.121 GB, free: 14.46 MB / 1.076 GB Notification: Performance of Templates: time 0.002779/0.3447, allocations: 458.5 kB / 1.122 GB, free: 14.02 MB / 1.076 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 -s ida -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/jenkins1/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: 8.272968652076088]