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.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.001334/0.001334, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001557/0.001557, allocations: 217.4 kB / 22.99 MB, free: 4.945 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.366/3.366, allocations: 0.5107 GB / 0.8166 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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: 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.002062/0.002062, allocations: 66.66 kB / 1.187 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3266, allocations: 181.9 MB / 1.365 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001759/0.3283, allocations: 0.6113 MB / 1.365 GB, free: 12.94 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009584/0.3293, allocations: 0.8125 MB / 1.366 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.157e-05/0.3293, allocations: 0 / 1.366 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.193e-05/0.3294, allocations: 3.938 kB / 1.366 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.607e-05/0.3294, allocations: 4 kB / 1.366 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.871e-05/0.3295, allocations: 0 / 1.366 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.231e-05/0.3295, allocations: 27.86 kB / 1.366 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.159e-05/0.3296, allocations: 0 / 1.366 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.13e-05/0.3296, allocations: 7.984 kB / 1.366 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.364e-05/0.3297, allocations: 8 kB / 1.366 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.3297, allocations: 4 kB / 1.366 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.24e-06/0.3297, allocations: 0 / 1.366 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.3297, allocations: 3.938 kB / 1.366 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.743e-05/0.3297, allocations: 4 kB / 1.366 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 7.104e-05/0.3298, allocations: 23.89 kB / 1.366 GB, free: 12.03 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3298, allocations: 0 / 1.366 GB, free: 12.03 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.734e-06/0.3298, allocations: 0 / 1.366 GB, free: 12.03 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.3298, allocations: 0 / 1.366 GB, free: 12.03 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.000443/0.3302, allocations: 258.4 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.3303, allocations: 8.031 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.416e-05/0.3303, allocations: 8.938 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.3304, allocations: 110.4 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.3304, allocations: 4.312 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.3304, allocations: 4.375 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.3306, allocations: 46.23 kB / 1.367 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.3306, allocations: 192 / 1.367 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.3306, allocations: 7.875 kB / 1.367 GB, free: 11.53 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.3306, allocations: 0 / 1.367 GB, free: 11.53 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.3308, allocations: 31.97 kB / 1.367 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001441/0.3309, allocations: 105.3 kB / 1.367 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.331, allocations: 34.53 kB / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.852e-05/0.3311, allocations: 24.89 kB / 1.367 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.3311, allocations: 0 / 1.367 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.3312, allocations: 30.56 kB / 1.367 GB, free: 11.26 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.3312, allocations: 0 / 1.367 GB, free: 11.26 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0003116/0.3315, allocations: 85.58 kB / 1.367 GB, free: 11.17 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.3315, allocations: 51.41 kB / 1.367 GB, free: 11.11 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.672e-05/0.3316, allocations: 97.84 kB / 1.367 GB, free: 11 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.3316, allocations: 25.7 kB / 1.367 GB, free: 10.97 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.809e-05/0.3317, allocations: 88.14 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.3317, allocations: 3.953 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.839e-05/0.3317, allocations: 13.66 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3319, allocations: 314.8 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.053e-05/0.3319, allocations: 20.11 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.788e-05/0.332, allocations: 15.97 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.3322, allocations: 32.83 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3322, allocations: 0 / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001809/0.3323, allocations: 61.66 kB / 1.368 GB, free: 10.4 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.3324, allocations: 8.094 kB / 1.368 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.3324, allocations: 3.938 kB / 1.368 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.3324, allocations: 7.938 kB / 1.368 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.428e-05/0.3324, allocations: 4 kB / 1.368 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.3325, allocations: 3.938 kB / 1.368 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.436e-05/0.3325, allocations: 7.984 kB / 1.368 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.3325, allocations: 0 / 1.368 GB, free: 10.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 8.41e-05/0.3326, allocations: 106.9 kB / 1.368 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.157e-06/0.3326, allocations: 4 kB / 1.368 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.173e-05/0.3326, allocations: 15.14 kB / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3326, allocations: 3.938 kB / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3326, allocations: 0 / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-06/0.3326, allocations: 0 / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.187e-05/0.3327, allocations: 97.33 kB / 1.368 GB, free: 10.1 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.3327, allocations: 0 / 1.368 GB, free: 10.1 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.333e-05/0.3328, allocations: 7.984 kB / 1.368 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.3328, allocations: 0 / 1.368 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.3328, allocations: 4 kB / 1.368 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3328, allocations: 0 / 1.368 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3328, allocations: 3.938 kB / 1.368 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.333, allocations: 89.03 kB / 1.368 GB, free: 9.98 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.678e-06/0.333, allocations: 7.953 kB / 1.368 GB, free: 9.973 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.333, allocations: 4 kB / 1.368 GB, free: 9.969 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.267e-05/0.333, allocations: 11.92 kB / 1.368 GB, free: 9.957 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.3331, allocations: 3.938 kB / 1.368 GB, free: 9.953 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.3331, allocations: 4 kB / 1.368 GB, free: 9.949 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.249e-05/0.3331, allocations: 79.28 kB / 1.368 GB, free: 9.871 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3331, allocations: 0 / 1.368 GB, free: 9.871 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001769/0.3333, allocations: 8.031 kB / 1.368 GB, free: 9.863 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.0001053/0.3334, allocations: 95.23 kB / 1.368 GB, free: 9.758 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002123/0.3336, allocations: 31.97 kB / 1.368 GB, free: 9.727 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3336, allocations: 0 / 1.368 GB, free: 9.727 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.682e-05/0.3337, allocations: 15.98 kB / 1.368 GB, free: 9.711 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.3339, allocations: 13.67 kB / 1.368 GB, free: 9.699 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002642/0.3342, allocations: 119.3 kB / 1.368 GB, free: 9.551 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.326e-05/0.3342, allocations: 59.34 kB / 1.368 GB, free: 9.473 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.576e-05/0.3342, allocations: 11.38 kB / 1.368 GB, free: 9.461 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.3342, allocations: 0 / 1.368 GB, free: 9.461 MB / 1.061 GB Notification: Performance of Templates: time 0.001894/0.3361, allocations: 0.4952 MB / 1.369 GB, free: 8.973 MB / 1.061 GB " [Timeout remaining time 300] 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/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.07641017017886]