Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001568/0.001568, allocations: 112.9 kB / 17.13 MB, free: 5.926 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.001758/0.001758, allocations: 206.5 kB / 20.09 MB, free: 2.977 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.487/1.487, allocations: 230.6 MB / 253.5 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.919/2.919, allocations: 0.49 GB / 0.7923 GB, free: 1.289 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram.y",fileNamePrefix="Buildings_12_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_12_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.002082/0.002082, allocations: 72.19 kB / 1.15 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9486/0.9507, allocations: 176.1 MB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001595/0.9523, allocations: 0.611 MB / 1.323 GB, free: 24.66 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0006979/0.953, allocations: 0.8126 MB / 1.323 GB, free: 24.04 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.062e-05/0.953, allocations: 0 / 1.323 GB, free: 24.04 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.11e-05/0.953, allocations: 0 / 1.323 GB, free: 24.04 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.002e-05/0.9531, allocations: 11.92 kB / 1.323 GB, free: 24.03 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.566e-05/0.9531, allocations: 0 / 1.323 GB, free: 24.03 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.524e-05/0.9532, allocations: 20.25 kB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.585e-05/0.9533, allocations: 0 / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.751e-05/0.9533, allocations: 10.02 kB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.141e-05/0.9533, allocations: 9.828 kB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.9534, allocations: 2.562 kB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.611e-06/0.9534, allocations: 2.562 kB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.9534, allocations: 3.938 kB / 1.323 GB, free: 24.01 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.237e-05/0.9534, allocations: 7.938 kB / 1.323 GB, free: 24 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 6.768e-05/0.9535, allocations: 13.41 kB / 1.323 GB, free: 24 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.9535, allocations: 6.562 kB / 1.323 GB, free: 24 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.233e-06/0.9535, allocations: 0 / 1.323 GB, free: 24 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.9535, allocations: 0 / 1.323 GB, free: 24 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.00036/0.9538, allocations: 333.2 kB / 1.324 GB, free: 23.64 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.9539, allocations: 12.55 kB / 1.324 GB, free: 23.64 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.732e-05/0.9539, allocations: 7.875 kB / 1.324 GB, free: 23.63 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.987e-05/0.954, allocations: 170.3 kB / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.954, allocations: 384 / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.954, allocations: 3.188 kB / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.9542, allocations: 45.17 kB / 1.324 GB, free: 23.4 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.9542, allocations: 192 / 1.324 GB, free: 23.4 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.9542, allocations: 3.938 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.9542, allocations: 0 / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.9544, allocations: 39.34 kB / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001255/0.9545, allocations: 156 kB / 1.324 GB, free: 23.19 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.9546, allocations: 33.86 kB / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.039e-05/0.9547, allocations: 24.98 kB / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.9547, allocations: 0 / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.9547, allocations: 34.5 kB / 1.324 GB, free: 23.1 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.9547, allocations: 0 / 1.324 GB, free: 23.1 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0003094/0.955, allocations: 87.2 kB / 1.324 GB, free: 23.05 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.252e-05/0.955, allocations: 55.02 kB / 1.324 GB, free: 22.99 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.594e-05/0.9551, allocations: 99.3 kB / 1.325 GB, free: 22.89 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/0.9551, allocations: 25.7 kB / 1.325 GB, free: 22.86 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.732e-05/0.9551, allocations: 80.14 kB / 1.325 GB, free: 22.77 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.9551, allocations: 2.5 kB / 1.325 GB, free: 22.77 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.9552, allocations: 17.12 kB / 1.325 GB, free: 22.75 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.89e-05/0.9552, allocations: 317.6 kB / 1.325 GB, free: 22.44 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.725e-05/0.9553, allocations: 11.33 kB / 1.325 GB, free: 22.44 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.682e-05/0.9554, allocations: 18.59 kB / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.9555, allocations: 34.56 kB / 1.325 GB, free: 22.42 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.9555, allocations: 4.062 kB / 1.325 GB, free: 22.42 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001672/0.9557, allocations: 59.3 kB / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.9557, allocations: 5.062 kB / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.9557, allocations: 6.562 kB / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.9557, allocations: 0 / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.651e-05/0.9558, allocations: 8.5 kB / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.9558, allocations: 0 / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.246e-05/0.9558, allocations: 2.469 kB / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.9558, allocations: 7.969 kB / 1.325 GB, free: 22.37 MB / 1.061 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 4.727e-05/0.9559, allocations: 115.4 kB / 1.325 GB, free: 22.25 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.285e-06/0.9559, allocations: 6.547 kB / 1.325 GB, free: 22.25 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.705e-05/0.9559, allocations: 7.062 kB / 1.325 GB, free: 22.24 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.9559, allocations: 0 / 1.325 GB, free: 22.24 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.9559, allocations: 0 / 1.325 GB, free: 22.24 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.9559, allocations: 0 / 1.325 GB, free: 22.24 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.293e-05/0.956, allocations: 155.2 kB / 1.325 GB, free: 22.05 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.956, allocations: 0 / 1.325 GB, free: 22.05 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.785e-05/0.956, allocations: 9.938 kB / 1.325 GB, free: 22.05 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.956, allocations: 3.375 kB / 1.325 GB, free: 22.05 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.956, allocations: 3.938 kB / 1.325 GB, free: 22.04 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.956, allocations: 0 / 1.325 GB, free: 22.04 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.956, allocations: 2.719 kB / 1.325 GB, free: 22.04 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.9562, allocations: 82.92 kB / 1.325 GB, free: 21.97 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.894e-05/0.9562, allocations: 81.14 kB / 1.326 GB, free: 21.88 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.9562, allocations: 3.938 kB / 1.326 GB, free: 21.87 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.206e-05/0.9563, allocations: 8.906 kB / 1.326 GB, free: 21.87 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.9563, allocations: 4 kB / 1.326 GB, free: 21.87 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.9563, allocations: 4 kB / 1.326 GB, free: 21.86 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.049e-05/0.9563, allocations: 84.14 kB / 1.326 GB, free: 21.79 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9563, allocations: 3.938 kB / 1.326 GB, free: 21.79 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001752/0.9565, allocations: 2.906 kB / 1.326 GB, free: 21.79 MB / 1.061 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.0001098/0.9566, allocations: 99.88 kB / 1.326 GB, free: 21.69 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002131/0.9568, allocations: 33.16 kB / 1.326 GB, free: 21.69 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.9568, allocations: 3.938 kB / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.827e-05/0.9569, allocations: 15.58 kB / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.9571, allocations: 7.859 kB / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002648/0.9574, allocations: 130.1 kB / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.9575, allocations: 0.6718 MB / 1.327 GB, free: 20.85 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.441e-05/0.9575, allocations: 7.438 kB / 1.327 GB, free: 20.84 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/0.9575, allocations: 0 / 1.327 GB, free: 20.84 MB / 1.061 GB Notification: Performance of Templates: time 0.001865/0.9594, allocations: 0.4897 MB / 1.327 GB, free: 20.82 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.318216743005905]