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.001411/0.001411, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.001465/0.001465, allocations: 163.2 kB / 22.46 MB, free: 5.375 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.527/1.527, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.917/2.917, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 0.9815 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.179e-05/3.397e-05, allocations: 9.594 kB / 0.9815 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.00164/0.001674, allocations: 0.5963 MB / 0.9821 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.002732, allocations: 0.812 MB / 0.9829 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.989e-05/0.002762, allocations: 0 / 0.9829 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.997e-05/0.002792, allocations: 3.938 kB / 0.9829 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.027e-05/0.002852, allocations: 0 / 0.9829 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.644e-05/0.002899, allocations: 11.98 kB / 0.9829 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.99e-05/0.002969, allocations: 11.94 kB / 0.9829 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.795e-05/0.003017, allocations: 7.984 kB / 0.9829 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.605e-05/0.003103, allocations: 15.98 kB / 0.9829 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.4e-05/0.003137, allocations: 4 kB / 0.9829 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.003156, allocations: 7.938 kB / 0.9829 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 5.33e-06/0.003161, allocations: 0 / 0.9829 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.003176, allocations: 7.922 kB / 0.9829 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.385e-05/0.0032, allocations: 8 kB / 0.9829 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 6.892e-05/0.003269, allocations: 11.97 kB / 0.9829 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.003273, allocations: 4 kB / 0.983 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of FrontEnd: time 8.42e-07/0.003274, allocations: 0 / 0.983 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.003277, allocations: 0 / 0.983 GB, free: 10.39 MB / 0.9356 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.0004571/0.003734, allocations: 254.4 kB / 0.9832 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.003788, allocations: 12.02 kB / 0.9832 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.003823, allocations: 4.938 kB / 0.9832 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.003946, allocations: 113.7 kB / 0.9833 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.003958, allocations: 384 / 0.9833 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.00397, allocations: 4.359 kB / 0.9833 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.004139, allocations: 42.25 kB / 0.9834 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.004147, allocations: 192 / 0.9834 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.004155, allocations: 384 / 0.9834 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.004161, allocations: 4.359 kB / 0.9834 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.004329, allocations: 35.91 kB / 0.9834 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001458/0.004475, allocations: 101.4 kB / 0.9835 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.004596, allocations: 34.48 kB / 0.9835 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.751e-05/0.004683, allocations: 20.91 kB / 0.9836 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.004694, allocations: 3.938 kB / 0.9836 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.004732, allocations: 34.56 kB / 0.9836 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.004733, allocations: 0 / 0.9836 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0003191/0.005052, allocations: 73.64 kB / 0.9837 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.0051, allocations: 55.41 kB / 0.9837 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.174e-05/0.005192, allocations: 101.8 kB / 0.9838 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.005211, allocations: 25.7 kB / 0.9838 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.255e-05/0.005253, allocations: 84.08 kB / 0.9839 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.005277, allocations: 4 kB / 0.9839 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.00531, allocations: 13.7 kB / 0.9839 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.005464, allocations: 319 kB / 0.9842 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.99e-05/0.005544, allocations: 11.98 kB / 0.9842 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.6e-05/0.00562, allocations: 19.98 kB / 0.9843 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.005779, allocations: 32.81 kB / 0.9843 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.005783, allocations: 4 kB / 0.9843 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001952/0.005978, allocations: 65.69 kB / 0.9844 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.005991, allocations: 4 kB / 0.9844 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.005994, allocations: 0 / 0.9844 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.006006, allocations: 0 / 0.9844 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.632e-05/0.006092, allocations: 11.92 kB / 0.9844 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.006098, allocations: 7.938 kB / 0.9844 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.718e-05/0.006145, allocations: 7.922 kB / 0.9844 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.00615, allocations: 4 kB / 0.9844 GB, free: 8.734 MB / 0.9356 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.689e-05/0.006237, allocations: 109.8 kB / 0.9845 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.893e-06/0.006244, allocations: 4.031 kB / 0.9845 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.982e-05/0.006263, allocations: 7.156 kB / 0.9845 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.006265, allocations: 0 / 0.9845 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.006268, allocations: 0 / 0.9845 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.006272, allocations: 3.938 kB / 0.9845 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.536e-05/0.006358, allocations: 101.3 kB / 0.9846 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.006359, allocations: 0 / 0.9846 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.039e-05/0.006409, allocations: 4 kB / 0.9846 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.006413, allocations: 3.984 kB / 0.9846 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.006421, allocations: 4 kB / 0.9846 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.006422, allocations: 4 kB / 0.9846 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.006422, allocations: 0 / 0.9846 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/0.006645, allocations: 88.98 kB / 0.9847 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.444e-06/0.006652, allocations: 7.922 kB / 0.9847 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.006663, allocations: 0 / 0.9847 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.273e-05/0.006706, allocations: 4 kB / 0.9847 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.006742, allocations: 3.984 kB / 0.9847 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-06/0.006745, allocations: 4 kB / 0.9847 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.4e-05/0.006789, allocations: 79.5 kB / 0.9848 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9.1e-08/0.006789, allocations: 4 kB / 0.9848 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000175/0.006964, allocations: 3.938 kB / 0.9848 GB, free: 8.246 MB / 0.9356 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.000145/0.007109, allocations: 99.92 kB / 0.9849 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002054/0.007314, allocations: 27.95 kB / 0.9849 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.007315, allocations: 4 kB / 0.9849 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.154e-05/0.007407, allocations: 20.05 kB / 0.985 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.007611, allocations: 6.344 kB / 0.985 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002809/0.007892, allocations: 96.77 kB / 0.9851 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.738e-05/0.007949, allocations: 59.34 kB / 0.9851 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.204e-05/0.007971, allocations: 4 kB / 0.9851 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.007999, allocations: 8.5 kB / 0.9851 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of SimCode: time 5.51e-07/0.008, allocations: 0 / 0.9851 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of Templates: time 0.002578/0.01058, allocations: 441.7 kB / 0.9855 GB, free: 7.445 MB / 0.9356 GB " [Timeout remaining time 300] 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/jenkins/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: 8.188807159662247]