Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.001536/0.001536, allocations: 88.72 kB / 19.44 MB, free: 352 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.001986/0.001986, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.522/1.522, allocations: 177.1 MB / 203.1 MB, free: 5.582 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.255/3.255, allocations: 429.6 MB / 0.673 GB, free: 3.875 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.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ramUp.u|ramUp.y|ramUp1.y|ramUp.active|ramUpDow.u|ramUpDow.y|ramUpDow.active|ramUpDow1.u|ramUpDow1.y|ramUpDow1.active",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ramUp.u|ramUp.y|ramUp1.y|ramUp.active|ramUpDow.u|ramUpDow.y|ramUpDow.active|ramUpDow1.u|ramUpDow1.y|ramUpDow1.active",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.053e-06/2.053e-06, allocations: 0 / 0.8777 GB, free: 5.234 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.745e-05/2.951e-05, allocations: 3.344 kB / 0.8777 GB, free: 5.23 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.00254/0.00257, allocations: 1.199 MB / 0.8788 GB, free: 4.059 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002771/0.005341, allocations: 1.72 MB / 0.8805 GB, free: 2.328 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001646/0.005505, allocations: 4 kB / 0.8805 GB, free: 2.324 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 8.346e-05/0.005589, allocations: 19.69 kB / 0.8805 GB, free: 2.305 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0002767/0.005866, allocations: 101.2 kB / 0.8806 GB, free: 2.207 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.007378, allocations: 0.6268 MB / 0.8813 GB, free: 1.582 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.001073/0.008451, allocations: 0.7693 MB / 0.882 GB, free: 0.8125 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.008628, allocations: 48.89 kB / 0.8821 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007334/0.009362, allocations: 423.4 kB / 0.8825 GB, free: 360 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005009/0.009863, allocations: 232.4 kB / 0.8827 GB, free: 128 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0001555/0.01002, allocations: 72 kB / 0.8827 GB, free: 56 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001939/0.01021, allocations: 84.69 kB / 0.8828 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.344e-05/0.0103, allocations: 76.14 kB / 0.8829 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0003204/0.01062, allocations: 211.6 kB / 0.8831 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.01177, allocations: 0.8139 MB / 0.8839 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.01177, allocations: 0 / 0.8839 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.61e-07/0.01177, allocations: 0 / 0.8839 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.53e-05/0.01179, allocations: 0 / 0.8839 GB, free: 14.88 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.001646/0.01343, allocations: 0.8575 MB / 0.8847 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.01347, allocations: 13.81 kB / 0.8847 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002014/0.01368, allocations: 64.73 kB / 0.8848 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001518/0.01519, allocations: 411.4 kB / 0.8852 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.898e-05/0.01525, allocations: 29.97 kB / 0.8852 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.01538, allocations: 44.36 kB / 0.8853 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005234/0.0159, allocations: 220.4 kB / 0.8855 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.01591, allocations: 4.188 kB / 0.8855 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/0.01593, allocations: 8.359 kB / 0.8855 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.01594, allocations: 8.125 kB / 0.8855 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003742/0.01632, allocations: 127.9 kB / 0.8856 GB, free: 13 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.01767, allocations: 0.7833 MB / 0.8864 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007378/0.01841, allocations: 222.5 kB / 0.8866 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002862/0.0187, allocations: 95.7 kB / 0.8867 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.045e-05/0.01873, allocations: 12 kB / 0.8867 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006407/0.01937, allocations: 293.3 kB / 0.887 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=37): time 1.472e-06/0.01937, allocations: 0 / 0.887 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of matching and sorting (n=37): time 0.001315/0.02068, allocations: 476.1 kB / 0.8874 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.315e-05/0.02078, allocations: 122.7 kB / 0.8876 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003089/0.02109, allocations: 256.2 kB / 0.8878 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.779e-05/0.02118, allocations: 53.69 kB / 0.8879 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/0.02138, allocations: 160.9 kB / 0.888 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.02149, allocations: 103.2 kB / 0.8881 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002947/0.02178, allocations: 154.1 kB / 0.8882 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001965/0.02198, allocations: 346.7 kB / 0.8886 GB, free: 9.812 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007593/0.02274, allocations: 411 kB / 0.889 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.02376, allocations: 0.7697 MB / 0.8897 GB, free: 8.449 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.02494, allocations: 0.5742 MB / 0.8903 GB, free: 7.793 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/0.02495, allocations: 4 kB / 0.8903 GB, free: 7.789 MB / 0.8073 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002061/0.02701, allocations: 1.075 MB / 0.8913 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001554/0.02717, allocations: 190.2 kB / 0.8915 GB, free: 6.414 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.02718, allocations: 4 kB / 0.8915 GB, free: 6.41 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.0272, allocations: 4 kB / 0.8915 GB, free: 6.406 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/0.02745, allocations: 47.91 kB / 0.8916 GB, free: 6.359 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.02746, allocations: 7.984 kB / 0.8916 GB, free: 6.352 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000978/0.02844, allocations: 183.8 kB / 0.8918 GB, free: 6.172 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.896e-05/0.02854, allocations: 43.97 kB / 0.8918 GB, free: 6.129 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,pul.booPul.y,$PRE.pul.booPul.y,booPul1.y,$PRE.booPul1.y,$whenCondition15,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,pul1.booPul.y,$PRE.pul1.booPul.y,booPul2.y,$PRE.booPul2.y,$whenCondition10,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,pul2.booPul.y,$PRE.pul2.booPul.y,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 6 * 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.0002393/0.02878, allocations: 175.7 kB / 0.892 GB, free: 5.949 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.621e-05/0.02887, allocations: 47.8 kB / 0.892 GB, free: 5.902 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.65e-05/0.02893, allocations: 25.81 kB / 0.892 GB, free: 5.875 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.02894, allocations: 8 kB / 0.892 GB, free: 5.867 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.02894, allocations: 0 / 0.892 GB, free: 5.867 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.02895, allocations: 7.984 kB / 0.8921 GB, free: 5.859 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/0.03039, allocations: 0.837 MB / 0.8929 GB, free: 4.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.03039, allocations: 0 / 0.8929 GB, free: 4.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/0.03063, allocations: 43.91 kB / 0.8929 GB, free: 4.938 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.03064, allocations: 4 kB / 0.8929 GB, free: 4.934 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/0.03067, allocations: 15.98 kB / 0.8929 GB, free: 4.918 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.03067, allocations: 0 / 0.8929 GB, free: 4.918 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/0.03068, allocations: 7.938 kB / 0.8929 GB, free: 4.91 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.03199, allocations: 0.7065 MB / 0.8936 GB, free: 4.188 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.506e-05/0.03205, allocations: 39.73 kB / 0.8937 GB, free: 4.148 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.826e-05/0.03211, allocations: 16 kB / 0.8937 GB, free: 4.133 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002483/0.03235, allocations: 15.92 kB / 0.8937 GB, free: 4.117 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.654e-05/0.03243, allocations: 39.88 kB / 0.8937 GB, free: 4.078 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/0.03246, allocations: 12.09 kB / 0.8937 GB, free: 4.066 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0002015/0.03266, allocations: 183.1 kB / 0.8939 GB, free: 3.887 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.03266, allocations: 0 / 0.8939 GB, free: 3.887 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0005494/0.03321, allocations: 112 kB / 0.894 GB, free: 3.777 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (ramUpDow1.y_internal,ramUpDow.y_internal,ramUp.y_internal,ramUp1.y_internal) * Number of discrete variables: 21 ($whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul2.booPul.y,booPul5.y,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,booPul2.y,pul1.booPul.y,$whenCondition15,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,booPul1.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0002044/0.03342, allocations: 127 kB / 0.8941 GB, free: 3.645 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001543/0.03496, allocations: 0.9393 MB / 0.8951 GB, free: 2.594 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.03496, allocations: 4 kB / 0.8951 GB, free: 2.59 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0003877/0.03535, allocations: 148.5 kB / 0.8952 GB, free: 2.445 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007932/0.03614, allocations: 115.3 kB / 0.8953 GB, free: 2.332 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.03737, allocations: 0.5811 MB / 0.8959 GB, free: 1.711 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.03756, allocations: 169 kB / 0.896 GB, free: 1.531 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001981/0.03775, allocations: 51.28 kB / 0.8961 GB, free: 1.484 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.969e-05/0.03784, allocations: 40.48 kB / 0.8961 GB, free: 1.445 MB / 0.8073 GB Notification: Performance of SimCode: time 5.61e-07/0.03784, allocations: 0 / 0.8961 GB, free: 1.445 MB / 0.8073 GB Notification: Performance of Templates: time 0.0144/0.05224, allocations: 7.71 MB / 0.9037 GB, free: 9.926 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.429543275036849]