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.0008135/0.0008135, allocations: 80.48 kB / 19.93 MB, free: 4.621 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.0007862/0.0007862, allocations: 173.9 kB / 23.21 MB, free: 1.34 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.8992/0.8992, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.71/1.71, allocations: 377.8 MB / 0.6228 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.934e-06/1.934e-06, allocations: 0 / 0.9822 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.913e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001615/0.001644, allocations: 0.6078 MB / 0.9828 GB, free: 1.469 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.002975, allocations: 0.8043 MB / 0.9836 GB, free: 0.6523 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.369e-05/0.003008, allocations: 0 / 0.9836 GB, free: 0.6523 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.009e-05/0.003038, allocations: 0 / 0.9836 GB, free: 0.6523 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.5e-05/0.003103, allocations: 7.938 kB / 0.9836 GB, free: 0.6445 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 5.727e-05/0.003161, allocations: 4 kB / 0.9836 GB, free: 0.6406 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.412e-05/0.003235, allocations: 23.92 kB / 0.9836 GB, free: 0.6172 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 5.197e-05/0.003287, allocations: 0 / 0.9836 GB, free: 0.6172 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 8.514e-05/0.003372, allocations: 11.98 kB / 0.9837 GB, free: 0.6055 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.961e-05/0.003412, allocations: 4 kB / 0.9837 GB, free: 0.6016 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.786e-05/0.003439, allocations: 7.984 kB / 0.9837 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 5.931e-06/0.003445, allocations: 0 / 0.9837 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.573e-05/0.003461, allocations: 3.938 kB / 0.9837 GB, free: 0.5898 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.534e-05/0.003486, allocations: 11.98 kB / 0.9837 GB, free: 0.5781 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.749e-05/0.003584, allocations: 15.86 kB / 0.9837 GB, free: 0.5625 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.003587, allocations: 4 kB / 0.9837 GB, free: 0.5586 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.042e-06/0.003588, allocations: 0 / 0.9837 GB, free: 0.5586 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.003593, allocations: 4 kB / 0.9837 GB, free: 0.5547 MB / 0.9323 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.0004334/0.004027, allocations: 258.3 kB / 0.984 GB, free: 276 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.00407, allocations: 8.031 kB / 0.984 GB, free: 268 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.004103, allocations: 4.938 kB / 0.984 GB, free: 264 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.004205, allocations: 113.7 kB / 0.9841 GB, free: 124 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.004217, allocations: 384 / 0.9841 GB, free: 124 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.004227, allocations: 384 / 0.9841 GB, free: 124 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.004377, allocations: 46.23 kB / 0.9841 GB, free: 72 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.004385, allocations: 192 / 0.9841 GB, free: 72 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.004395, allocations: 4.375 kB / 0.9841 GB, free: 68 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.0044, allocations: 384 / 0.9841 GB, free: 68 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.004509, allocations: 39.83 kB / 0.9842 GB, free: 28 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/0.00467, allocations: 101.4 kB / 0.9843 GB, free: 15.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.617e-05/0.004756, allocations: 30.5 kB / 0.9843 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.809e-05/0.004814, allocations: 20.91 kB / 0.9843 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.004827, allocations: 3.984 kB / 0.9843 GB, free: 15.83 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.004857, allocations: 38.56 kB / 0.9843 GB, free: 15.79 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.004858, allocations: 0 / 0.9843 GB, free: 15.79 MB / 0.948 GB Notification: Performance of matching and sorting (n=1): time 0.0002768/0.005135, allocations: 73.59 kB / 0.9844 GB, free: 15.71 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.005169, allocations: 51.41 kB / 0.9845 GB, free: 15.64 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.248e-05/0.005241, allocations: 105.8 kB / 0.9846 GB, free: 15.53 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.005252, allocations: 25.7 kB / 0.9846 GB, free: 15.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.74e-05/0.005289, allocations: 80.14 kB / 0.9847 GB, free: 15.42 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.005317, allocations: 8.125 kB / 0.9847 GB, free: 15.41 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.005348, allocations: 13.72 kB / 0.9847 GB, free: 15.39 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.219e-05/0.00544, allocations: 314.8 kB / 0.985 GB, free: 15.07 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.43e-05/0.005494, allocations: 11.98 kB / 0.985 GB, free: 15.06 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.088e-05/0.005545, allocations: 19.98 kB / 0.985 GB, free: 15.04 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.005648, allocations: 28.83 kB / 0.985 GB, free: 15.01 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.005651, allocations: 4.062 kB / 0.985 GB, free: 15.01 MB / 0.948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001433/0.005794, allocations: 73.48 kB / 0.9851 GB, free: 14.93 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.005808, allocations: 4 kB / 0.9851 GB, free: 14.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.005812, allocations: 0 / 0.9851 GB, free: 14.93 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.005826, allocations: 0 / 0.9851 GB, free: 14.93 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.258e-05/0.005899, allocations: 7.984 kB / 0.9851 GB, free: 14.92 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.005904, allocations: 4 kB / 0.9851 GB, free: 14.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.868e-05/0.005932, allocations: 3.938 kB / 0.9851 GB, free: 14.91 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.005938, allocations: 8.031 kB / 0.9851 GB, free: 14.9 MB / 0.948 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 6.612e-05/0.006004, allocations: 113.8 kB / 0.9853 GB, free: 14.78 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.791e-06/0.00601, allocations: 0 / 0.9853 GB, free: 14.78 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.183e-05/0.006032, allocations: 7.156 kB / 0.9853 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.006034, allocations: 0 / 0.9853 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.006038, allocations: 0 / 0.9853 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.006042, allocations: 3.938 kB / 0.9853 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.818e-05/0.006111, allocations: 101.3 kB / 0.9854 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.006113, allocations: 3.984 kB / 0.9854 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.999e-05/0.006143, allocations: 4 kB / 0.9854 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.006144, allocations: 4 kB / 0.9854 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.006151, allocations: 0 / 0.9854 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.006152, allocations: 0 / 0.9854 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.006155, allocations: 4 kB / 0.9854 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.006302, allocations: 92.97 kB / 0.9855 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.683e-06/0.006309, allocations: 0 / 0.9855 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.00632, allocations: 0 / 0.9855 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.854e-05/0.006348, allocations: 7.984 kB / 0.9855 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.006382, allocations: 7.969 kB / 0.9855 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-06/0.006384, allocations: 4 kB / 0.9855 GB, free: 14.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.419e-05/0.006418, allocations: 87.45 kB / 0.9856 GB, free: 14.41 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.006419, allocations: 0 / 0.9856 GB, free: 14.41 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002131/0.006632, allocations: 3.938 kB / 0.9856 GB, free: 14.41 MB / 0.948 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.752e-05/0.006719, allocations: 95.78 kB / 0.9857 GB, free: 14.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001501/0.006869, allocations: 27.97 kB / 0.9857 GB, free: 14.28 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.006871, allocations: 8.062 kB / 0.9857 GB, free: 14.27 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.197e-05/0.006923, allocations: 19.91 kB / 0.9857 GB, free: 14.25 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.007129, allocations: 4.141 kB / 0.9857 GB, free: 14.25 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002712/0.0074, allocations: 125.3 kB / 0.9858 GB, free: 14.09 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.33e-05/0.007444, allocations: 59.36 kB / 0.9859 GB, free: 14.02 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.956e-05/0.007473, allocations: 12.48 kB / 0.9859 GB, free: 14 MB / 0.948 GB Notification: Performance of SimCode: time 4e-07/0.007474, allocations: 0 / 0.9859 GB, free: 14 MB / 0.948 GB Notification: Performance of Templates: time 0.001686/0.009159, allocations: 0.4964 MB / 0.9864 GB, free: 13.51 MB / 0.948 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: 6.668569063767791]