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.00193/0.00193, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002044/0.002044, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.574/1.574, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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.3/3.3, allocations: 429.6 MB / 0.673 GB, free: 3.879 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0.7656 kB / 0.8776 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.98e-05/3.193e-05, allocations: 4.844 kB / 0.8776 GB, free: 6.457 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001874/0.001906, allocations: 0.6103 MB / 0.8782 GB, free: 5.867 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00166/0.003566, allocations: 0.8053 MB / 0.879 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.921e-05/0.003605, allocations: 4.656 kB / 0.879 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.933e-05/0.003635, allocations: 0.5625 kB / 0.879 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.498e-05/0.00371, allocations: 4.875 kB / 0.879 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.94e-05/0.003759, allocations: 5.734 kB / 0.879 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.358e-05/0.003833, allocations: 20.16 kB / 0.8791 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.887e-05/0.003881, allocations: 4.703 kB / 0.8791 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.282e-05/0.003974, allocations: 8 kB / 0.8791 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.658e-05/0.004011, allocations: 13.17 kB / 0.8791 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.004028, allocations: 3.938 kB / 0.8791 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.951e-06/0.004034, allocations: 0 / 0.8791 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.004058, allocations: 0 / 0.8791 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.958e-05/0.004088, allocations: 8.781 kB / 0.8791 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.054e-05/0.004178, allocations: 23.89 kB / 0.8791 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.00418, allocations: 0.5625 kB / 0.8791 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.51e-07/0.004181, allocations: 1.094 kB / 0.8791 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.004186, allocations: 0 / 0.8791 GB, free: 4.961 MB / 0.8386 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.000485/0.004671, allocations: 259.1 kB / 0.8794 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.004713, allocations: 8.031 kB / 0.8794 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.42e-05/0.004757, allocations: 5.875 kB / 0.8794 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.004884, allocations: 105.8 kB / 0.8795 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.004896, allocations: 384 / 0.8795 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.004906, allocations: 8 kB / 0.8795 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.005094, allocations: 50.17 kB / 0.8795 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.005103, allocations: 192 / 0.8795 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.005112, allocations: 384 / 0.8795 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.005116, allocations: 384 / 0.8795 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.005278, allocations: 31.84 kB / 0.8796 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/0.005445, allocations: 105.3 kB / 0.8797 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.00557, allocations: 27.28 kB / 0.8797 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.226e-05/0.005662, allocations: 27.03 kB / 0.8797 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.005675, allocations: 0 / 0.8797 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.005709, allocations: 30.56 kB / 0.8797 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 6.71e-07/0.00571, allocations: 0 / 0.8797 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0003915/0.006102, allocations: 85.53 kB / 0.8798 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.006155, allocations: 51.41 kB / 0.8799 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.006266, allocations: 101.8 kB / 0.88 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.006288, allocations: 29.7 kB / 0.88 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.943e-05/0.006347, allocations: 84.12 kB / 0.8801 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.006377, allocations: 4 kB / 0.8801 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.006412, allocations: 9.719 kB / 0.8801 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.006598, allocations: 314.8 kB / 0.8804 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.128e-05/0.00668, allocations: 16.11 kB / 0.8804 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.431e-05/0.006754, allocations: 15.98 kB / 0.8804 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.006936, allocations: 36.81 kB / 0.8805 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.006938, allocations: 0 / 0.8805 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002018/0.007139, allocations: 61.67 kB / 0.8805 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.00716, allocations: 10.34 kB / 0.8805 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.007165, allocations: 0 / 0.8805 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.007184, allocations: 0 / 0.8805 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.234e-05/0.007276, allocations: 11.98 kB / 0.8805 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.007287, allocations: 4 kB / 0.8805 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.114e-05/0.007338, allocations: 11.92 kB / 0.8806 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.007344, allocations: 0 / 0.8806 GB, free: 3.32 MB / 0.8386 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 9.801e-05/0.007442, allocations: 109.8 kB / 0.8807 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.204e-05/0.007454, allocations: 3.953 kB / 0.8807 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.073e-05/0.007475, allocations: 7.188 kB / 0.8807 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.007477, allocations: 0 / 0.8807 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.007481, allocations: 0 / 0.8807 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.007487, allocations: 7.875 kB / 0.8807 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.007599, allocations: 105.3 kB / 0.8808 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.0076, allocations: 0 / 0.8808 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.184e-05/0.007661, allocations: 11.98 kB / 0.8808 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.007663, allocations: 0 / 0.8808 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.007671, allocations: 0 / 0.8808 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.007676, allocations: 3.938 kB / 0.8808 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.007677, allocations: 4 kB / 0.8808 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.007922, allocations: 85.03 kB / 0.8809 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.194e-05/0.007934, allocations: 4 kB / 0.8809 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.007946, allocations: 0 / 0.8809 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.668e-05/0.007992, allocations: 4 kB / 0.8809 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.008036, allocations: 4.172 kB / 0.8809 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.008039, allocations: 0 / 0.8809 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.486e-05/0.008104, allocations: 87.27 kB / 0.881 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9e-08/0.008104, allocations: 4.031 kB / 0.881 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001854/0.008289, allocations: 7.938 kB / 0.881 GB, free: 2.82 MB / 0.8386 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.000128/0.008417, allocations: 91.25 kB / 0.8811 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002263/0.008643, allocations: 39.89 kB / 0.8811 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.008645, allocations: 0 / 0.8811 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.98e-05/0.008735, allocations: 11.98 kB / 0.8811 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.008965, allocations: 12.12 kB / 0.8811 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003259/0.009291, allocations: 88.89 kB / 0.8812 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.369e-05/0.009364, allocations: 63.2 kB / 0.8813 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.234e-05/0.009387, allocations: 0 / 0.8813 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.652e-05/0.009423, allocations: 8.5 kB / 0.8813 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of SimCode: time 5.81e-07/0.009424, allocations: 0 / 0.8813 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of Templates: time 0.003209/0.01263, allocations: 477.6 kB / 0.8817 GB, free: 2 MB / 0.8386 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.331147584016435]