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.000921/0.000921, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007847/0.0007847, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.863/0.863, allocations: 177.1 MB / 203.5 MB, free: 5.395 MB / 186.7 MB " [Timeout remaining time 179] 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 1.723/1.723, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.793e-06/1.793e-06, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.404e-05, allocations: 13.31 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.0009941/0.001018, allocations: 0.6039 MB / 1.002 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006121/0.00163, allocations: 0.8081 MB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.507e-05/0.001655, allocations: 0 / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.421e-05/0.001679, allocations: 0 / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.116e-05/0.001731, allocations: 7.922 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 4.56e-05/0.001776, allocations: 7.984 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.557e-05/0.001832, allocations: 19.94 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.049e-05/0.001872, allocations: 0 / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.149e-05/0.001934, allocations: 15.92 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.748e-05/0.001971, allocations: 8 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.001992, allocations: 0 / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.757e-06/0.001995, allocations: 0 / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/0.002008, allocations: 7.984 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.784e-05/0.002026, allocations: 7.938 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 5.995e-05/0.002086, allocations: 15.97 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.002088, allocations: 0 / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.51e-07/0.002088, allocations: 0 / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.002092, allocations: 4 kB / 1.002 GB, free: 11.46 MB / 0.9636 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.0002926/0.002385, allocations: 258.3 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.002417, allocations: 12.75 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.397e-05/0.002441, allocations: 0.9375 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.958e-05/0.00251, allocations: 101.8 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.002521, allocations: 384 / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.264e-06/0.002528, allocations: 4.375 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.002629, allocations: 38.25 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-06/0.002636, allocations: 192 / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.002645, allocations: 8.359 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.002649, allocations: 384 / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.002e-05/0.002719, allocations: 35.84 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001012/0.00282, allocations: 101.3 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.132e-05/0.002882, allocations: 30.58 kB / 1.003 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.549e-05/0.002927, allocations: 24.91 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.996e-06/0.002936, allocations: 0 / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/0.002952, allocations: 34.56 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 4.91e-07/0.002952, allocations: 0 / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001844/0.003136, allocations: 81.56 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.003164, allocations: 51.41 kB / 1.003 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.851e-05/0.003212, allocations: 101.8 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/0.003221, allocations: 25.7 kB / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.299e-05/0.003244, allocations: 84.14 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.003264, allocations: 8.078 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.369e-05/0.003288, allocations: 21.64 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.903e-05/0.003357, allocations: 318.8 kB / 1.004 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.543e-05/0.003392, allocations: 11.98 kB / 1.004 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.315e-05/0.003426, allocations: 15.98 kB / 1.004 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.068e-05/0.003496, allocations: 32.81 kB / 1.004 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.003498, allocations: 64 / 1.004 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.485e-05/0.003583, allocations: 65.61 kB / 1.004 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.003592, allocations: 4 kB / 1.004 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.003597, allocations: 4 kB / 1.004 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.003608, allocations: 0 / 1.004 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.548e-05/0.003663, allocations: 11.98 kB / 1.004 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.003667, allocations: 0 / 1.004 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.114e-05/0.003688, allocations: 11.92 kB / 1.004 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.003693, allocations: 4.031 kB / 1.004 GB, free: 9.812 MB / 0.9636 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.926e-05/0.003742, allocations: 109.8 kB / 1.004 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-06/0.003745, allocations: 4 kB / 1.004 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.782e-05/0.003763, allocations: 3.156 kB / 1.004 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.003765, allocations: 0 / 1.004 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.003769, allocations: 0 / 1.004 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.003773, allocations: 3.938 kB / 1.004 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.617e-05/0.003829, allocations: 109.3 kB / 1.004 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.003831, allocations: 0 / 1.004 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.358e-05/0.003854, allocations: 7.984 kB / 1.004 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.003855, allocations: 4 kB / 1.004 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.003862, allocations: 4 kB / 1.004 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.003863, allocations: 0 / 1.004 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.003864, allocations: 3.938 kB / 1.004 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.003968, allocations: 85 kB / 1.004 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.063e-06/0.003975, allocations: 3.984 kB / 1.004 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-06/0.003985, allocations: 4 kB / 1.004 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.764e-05/0.004003, allocations: 4 kB / 1.004 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.004039, allocations: 8.016 kB / 1.004 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.004041, allocations: 0 / 1.004 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.673e-05/0.004067, allocations: 83.28 kB / 1.004 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.004067, allocations: 0 / 1.004 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001177/0.004185, allocations: 7.938 kB / 1.004 GB, free: 9.312 MB / 0.9636 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 8.066e-05/0.004266, allocations: 95.19 kB / 1.004 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001258/0.004392, allocations: 39.89 kB / 1.004 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.004393, allocations: 4.062 kB / 1.004 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.587e-05/0.004429, allocations: 11.98 kB / 1.004 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.00458, allocations: 4 kB / 1.004 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002628/0.004843, allocations: 126.5 kB / 1.005 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.979e-05/0.004883, allocations: 55.36 kB / 1.005 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.799e-05/0.004911, allocations: 8.5 kB / 1.005 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of SimCode: time 4.71e-07/0.004911, allocations: 0 / 1.005 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of Templates: time 0.001294/0.006205, allocations: 0.5096 MB / 1.005 GB, free: 8.41 MB / 0.9636 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: 6.534890321083367]