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.001494/0.001494, allocations: 79.36 kB / 19.18 MB, free: 2.52 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.001779/0.001779, allocations: 166.1 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.474/1.474, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.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.138/3.138, allocations: 389 MB / 0.633 GB, free: 1.012 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 1 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.199e-05/3.452e-05, allocations: 2.281 kB / 1 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.002488/0.002523, allocations: 0.6094 MB / 1.001 GB, free: 6.648 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.004043, allocations: 0.8159 MB / 1.002 GB, free: 5.82 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.556e-05/0.004079, allocations: 0 / 1.002 GB, free: 5.82 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.055e-05/0.004109, allocations: 0 / 1.002 GB, free: 5.82 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.788e-05/0.004197, allocations: 0 / 1.002 GB, free: 5.82 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 6.246e-05/0.00426, allocations: 7.984 kB / 1.002 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.075e-05/0.004341, allocations: 15.94 kB / 1.002 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.887e-05/0.004399, allocations: 4 kB / 1.002 GB, free: 5.793 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.082e-05/0.00449, allocations: 11.92 kB / 1.002 GB, free: 5.781 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.194e-05/0.004532, allocations: 11.94 kB / 1.002 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.00455, allocations: 0 / 1.002 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.448e-06/0.004559, allocations: 4 kB / 1.002 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.259e-05/0.004582, allocations: 7.984 kB / 1.002 GB, free: 5.758 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.213e-05/0.004604, allocations: 0 / 1.002 GB, free: 5.758 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 8.63e-05/0.00469, allocations: 19.95 kB / 1.002 GB, free: 5.738 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.004694, allocations: 0 / 1.002 GB, free: 5.738 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.021e-06/0.004695, allocations: 0 / 1.002 GB, free: 5.738 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.0047, allocations: 0 / 1.002 GB, free: 5.738 MB / 0.9512 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.0005228/0.005223, allocations: 254.4 kB / 1.002 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.005274, allocations: 20.02 kB / 1.002 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.005311, allocations: 0.9375 kB / 1.002 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.005462, allocations: 105.8 kB / 1.002 GB, free: 5.309 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.005479, allocations: 384 / 1.002 GB, free: 5.309 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.005488, allocations: 384 / 1.002 GB, free: 5.309 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.0057, allocations: 42.25 kB / 1.002 GB, free: 5.262 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.005711, allocations: 192 / 1.002 GB, free: 5.262 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.005722, allocations: 384 / 1.002 GB, free: 5.262 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.005734, allocations: 12.3 kB / 1.002 GB, free: 5.25 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002074/0.005942, allocations: 39.84 kB / 1.002 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/0.006125, allocations: 101.3 kB / 1.002 GB, free: 5.082 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.006276, allocations: 38.58 kB / 1.002 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.00639, allocations: 16.91 kB / 1.002 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.006408, allocations: 0 / 1.002 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.006445, allocations: 30.56 kB / 1.002 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.006446, allocations: 0 / 1.002 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.000513/0.006959, allocations: 89.56 kB / 1.002 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.06e-05/0.00702, allocations: 51.41 kB / 1.002 GB, free: 4.82 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.007128, allocations: 101.8 kB / 1.003 GB, free: 4.711 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.007154, allocations: 29.7 kB / 1.003 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.603e-05/0.00721, allocations: 80.14 kB / 1.003 GB, free: 4.594 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.007242, allocations: 3.953 kB / 1.003 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-05/0.007289, allocations: 17.7 kB / 1.003 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002129/0.007501, allocations: 310.8 kB / 1.003 GB, free: 4.254 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.007607, allocations: 20.11 kB / 1.003 GB, free: 4.234 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.764e-05/0.007705, allocations: 11.98 kB / 1.003 GB, free: 4.223 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/0.007929, allocations: 36.81 kB / 1.003 GB, free: 4.184 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.007931, allocations: 3.938 kB / 1.003 GB, free: 4.18 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002684/0.008199, allocations: 61.73 kB / 1.003 GB, free: 4.113 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.00822, allocations: 8 kB / 1.003 GB, free: 4.105 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.008225, allocations: 0 / 1.003 GB, free: 4.105 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.008241, allocations: 0 / 1.003 GB, free: 4.105 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.008346, allocations: 7.984 kB / 1.003 GB, free: 4.098 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.008352, allocations: 0 / 1.003 GB, free: 4.098 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.635e-05/0.008419, allocations: 11.92 kB / 1.003 GB, free: 4.086 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.008425, allocations: 0 / 1.003 GB, free: 4.086 MB / 0.9512 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 0.0001199/0.008545, allocations: 109.8 kB / 1.003 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-06/0.008555, allocations: 0 / 1.003 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.921e-05/0.008584, allocations: 11.19 kB / 1.003 GB, free: 3.953 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.008586, allocations: 0 / 1.003 GB, free: 3.953 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.008591, allocations: 0 / 1.003 GB, free: 3.953 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.008596, allocations: 7.938 kB / 1.003 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.008711, allocations: 97.31 kB / 1.003 GB, free: 3.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.008712, allocations: 0 / 1.003 GB, free: 3.82 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.036e-05/0.008782, allocations: 8 kB / 1.003 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.008789, allocations: 3.984 kB / 1.003 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.008797, allocations: 3.938 kB / 1.003 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.008801, allocations: 3.938 kB / 1.003 GB, free: 3.801 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.008802, allocations: 4 kB / 1.003 GB, free: 3.797 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003444/0.009146, allocations: 85 kB / 1.003 GB, free: 3.695 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.809e-06/0.009156, allocations: 11.92 kB / 1.003 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.009171, allocations: 0 / 1.003 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.93e-05/0.009231, allocations: 4 kB / 1.003 GB, free: 3.68 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.009281, allocations: 7.984 kB / 1.003 GB, free: 3.672 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-06/0.009287, allocations: 4 kB / 1.003 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.04e-05/0.009348, allocations: 79.28 kB / 1.004 GB, free: 3.59 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.009348, allocations: 4.031 kB / 1.004 GB, free: 3.586 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002894/0.009637, allocations: 7.938 kB / 1.004 GB, free: 3.578 MB / 0.9512 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.000165/0.009802, allocations: 95.23 kB / 1.004 GB, free: 3.477 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002791/0.01008, allocations: 39.89 kB / 1.004 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01008, allocations: 0 / 1.004 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.01019, allocations: 15.98 kB / 1.004 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.01049, allocations: 8.125 kB / 1.004 GB, free: 3.414 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003627/0.01086, allocations: 96.83 kB / 1.004 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.838e-05/0.01093, allocations: 55.36 kB / 1.004 GB, free: 3.219 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.817e-05/0.01095, allocations: 0 / 1.004 GB, free: 3.219 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.433e-05/0.01099, allocations: 8.5 kB / 1.004 GB, free: 3.211 MB / 0.9512 GB Notification: Performance of SimCode: time 4.61e-07/0.01099, allocations: 0 / 1.004 GB, free: 3.211 MB / 0.9512 GB Notification: Performance of Templates: time 0.003269/0.01426, allocations: 453 kB / 1.004 GB, free: 2.773 MB / 0.9512 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/jenkins/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: 8.64263591170311]