Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 113.3 kB / 17.08 MB, free: 6 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 193.2 kB / 20.03 MB, free: 3.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.029/3.029, allocations: 489.2 MB / 0.7687 GB, free: 3.805 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 63.89 kB / 1.103 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9407/0.9427, allocations: 163.8 MB / 1.263 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001618/0.9444, allocations: 0.6038 MB / 1.263 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007457/0.9451, allocations: 0.7786 MB / 1.264 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.201e-05/0.9452, allocations: 3.531 kB / 1.264 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.495e-05/0.9452, allocations: 4.719 kB / 1.264 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.652e-05/0.9453, allocations: 0.5156 kB / 1.264 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.591e-05/0.9453, allocations: 2.781 kB / 1.264 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.114e-05/0.9454, allocations: 21.08 kB / 1.264 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.585e-05/0.9454, allocations: 6.578 kB / 1.264 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.198e-05/0.9455, allocations: 7.828 kB / 1.264 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.229e-05/0.9455, allocations: 8.359 kB / 1.264 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.9455, allocations: 1.719 kB / 1.264 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.162e-06/0.9456, allocations: 9.75 kB / 1.264 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.339e-05/0.9456, allocations: 4.734 kB / 1.264 GB, free: 7 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.108e-05/0.9456, allocations: 6.375 kB / 1.264 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 6.525e-05/0.9457, allocations: 17.7 kB / 1.264 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.9457, allocations: 0 / 1.264 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9457, allocations: 1.516 kB / 1.264 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.9457, allocations: 0 / 1.264 GB, free: 6.988 MB / 0.9981 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.000341/0.946, allocations: 328.8 kB / 1.264 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.9461, allocations: 13.38 kB / 1.264 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.58e-05/0.9461, allocations: 5.672 kB / 1.264 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.018e-05/0.9462, allocations: 163.4 kB / 1.265 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.784e-06/0.9462, allocations: 9.078 kB / 1.265 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.9462, allocations: 1.781 kB / 1.265 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.9464, allocations: 44.45 kB / 1.265 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.9464, allocations: 1 kB / 1.265 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.9464, allocations: 4.547 kB / 1.265 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.9464, allocations: 0 / 1.265 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.9466, allocations: 33.98 kB / 1.265 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001162/0.9467, allocations: 152.3 kB / 1.265 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.88e-05/0.9468, allocations: 33.98 kB / 1.265 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.9469, allocations: 21.73 kB / 1.265 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-06/0.9469, allocations: 4 kB / 1.265 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.11e-05/0.9469, allocations: 31.94 kB / 1.265 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.947, allocations: 0.8438 kB / 1.265 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0003126/0.9473, allocations: 75.27 kB / 1.265 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.736e-05/0.9473, allocations: 51.41 kB / 1.265 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.334e-05/0.9474, allocations: 102.2 kB / 1.265 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.021e-06/0.9474, allocations: 29.7 kB / 1.265 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.743e-05/0.9474, allocations: 81.59 kB / 1.265 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.9474, allocations: 9.125 kB / 1.265 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.9474, allocations: 16.11 kB / 1.265 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.777e-05/0.9475, allocations: 316.3 kB / 1.266 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.45e-05/0.9476, allocations: 13.56 kB / 1.266 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.597e-05/0.9477, allocations: 24.53 kB / 1.266 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.9478, allocations: 31.19 kB / 1.266 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.9478, allocations: 0 / 1.266 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001818/0.948, allocations: 63.47 kB / 1.266 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.948, allocations: 5.281 kB / 1.266 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.948, allocations: 5.266 kB / 1.266 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.9481, allocations: 4.781 kB / 1.266 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.063e-05/0.9482, allocations: 7.531 kB / 1.266 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.9482, allocations: 3.938 kB / 1.266 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.609e-05/0.9482, allocations: 10.62 kB / 1.266 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.9482, allocations: 0 / 1.266 GB, free: 5.371 MB / 0.9981 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 3.887e-05/0.9483, allocations: 112.4 kB / 1.266 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.226e-06/0.9483, allocations: 1.375 kB / 1.266 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.755e-05/0.9483, allocations: 8.953 kB / 1.266 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.9483, allocations: 4 kB / 1.266 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.9483, allocations: 0.8125 kB / 1.266 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.9483, allocations: 0.7969 kB / 1.266 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.572e-05/0.9484, allocations: 157.3 kB / 1.266 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.9484, allocations: 1.188 kB / 1.266 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.159e-05/0.9484, allocations: 6.094 kB / 1.266 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.9485, allocations: 1.328 kB / 1.266 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.9485, allocations: 4.719 kB / 1.266 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.9485, allocations: 0 / 1.266 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.9485, allocations: 1.531 kB / 1.266 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.9487, allocations: 84.25 kB / 1.266 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.756e-05/0.9487, allocations: 82.23 kB / 1.266 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.9487, allocations: 9.219 kB / 1.266 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.419e-05/0.9488, allocations: 5.672 kB / 1.266 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/0.9488, allocations: 2.266 kB / 1.266 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.9488, allocations: 4.594 kB / 1.266 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.306e-05/0.9488, allocations: 88.2 kB / 1.266 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9488, allocations: 0.9062 kB / 1.266 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000177/0.949, allocations: 2.75 kB / 1.266 GB, free: 4.785 MB / 0.9981 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 9.474e-05/0.9491, allocations: 97.94 kB / 1.266 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002128/0.9493, allocations: 31.39 kB / 1.266 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.9494, allocations: 4.906 kB / 1.266 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.388e-05/0.9494, allocations: 13.73 kB / 1.266 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/0.9496, allocations: 7.562 kB / 1.266 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002108/0.9498, allocations: 126.3 kB / 1.267 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.262e-05/0.9499, allocations: 0.6736 MB / 1.267 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.461e-05/0.95, allocations: 8.156 kB / 1.267 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/0.95, allocations: 0 / 1.267 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of Templates: time 0.001974/0.952, allocations: 0.5034 MB / 1.268 GB, free: 3.809 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.29331354284659]